Re: [O] mimetype for orgmode files

2017-06-21 Thread Adonay Felipe Nogueira
`xdg-mime query filetype "[Path to some .org file.]"` shows "text/plain", but Gnus in GNU Emacs shows it as "text/x-org". -- - [[https://libreplanet.org/wiki/User:Adfeno]] - Palestrante e consultor sobre /software/ livre (não confundir com gratis). - "WhatsApp"? Ele não é livre, por isso não us

Re: [O] Mouse-over on bibliographic citation

2017-06-21 Thread John Kitchin
this is a bug in the current org-mode 9.0.8. You have to revert it to org 9.0.7 for now. It has been fixed, but I am not sure when it will show up. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pitt

[O] Mouse-over on bibliographic citation

2017-06-21 Thread Sharon Kimble
I've got this strange problem and I'm not sure when it started, possibly when this new computer was first put to use last Friday afternoon with a fresh install of Debian 9, or maybe before then, I'm not sure. Anyway, whenever I mouse-over a bibliographic citation in an org-mode document, it used

Re: [O] link fontification issue in org 9.0.8

2017-06-21 Thread Nicolas Goaziou
Hello, John Kitchin writes: > in a recent upgrade to 9.0.8, all the links have reverted to being > fontified with an org-link face. > > For example, this link definition > > #+BEGIN_SRC emacs-lisp > (org-link-set-parameters > "red" > :follow (lambda (path) (message "You clicked me.")) > :expo

Re: [O] mimetype for orgmode files

2017-06-21 Thread Gergely Polonkai
I'd say text/orgmode (text/x-orgmode if getting into IANA is not an option). text/org feels too generic, as not everyone is familiar with Org. On Wed, Jun 21, 2017, 21:36 John Kitchin wrote: > hm. I tried to use this to update the mime-types on Github > (https://github.com/jshttp/mime-db/pull/82

Re: [O] Bibliograph:ref.bib vs. \printbibliograpy (WAS: Re: > Citations with org-ref in apa style)

2017-06-21 Thread edgar
On 2017-06-18 20:38, John Kitchin wrote: https://tex.stackexchange.com/questions/17445/how-can-i-change-the-references-to-reference-in-the-thebibliography-environm # This makes the bibliography section title empty and un-numbered #+latex: \renewcommand{\bibsection}{\subsection*{}} * References b

Re: [O] mimetype for orgmode files

2017-06-21 Thread John Kitchin
hm. I tried to use this to update the mime-types on Github (https://github.com/jshttp/mime-db/pull/82#pullrequestreview-45516223), but the email isn't primary enough for them. It seems like if we had something on orgmode.org specifying a mimetype it might work, although better would be to get it i

Re: [O] org-protocol documentation

2017-06-21 Thread Nicolas Goaziou
Mario Martelli writes: >> However, AFAIU, this change is about orgmanual.org, which is an outdated >> copy of the official manual in contrib/. > > Well, I thought I could begin with an easy task for my first contribution :) > >> Could you modify "org.texi" in doc/ directory instead? > > This will

Re: [O] org-protocol documentation

2017-06-21 Thread Mario Martelli
> However, AFAIU, this change is about orgmanual.org, which is an outdated > copy of the official manual in contrib/. Well, I thought I could begin with an easy task for my first contribution :) > Could you modify "org.texi" in doc/ directory instead? This will take a while, I assume. Although

Re: [O] org-protocol documentation

2017-06-21 Thread Nicolas Goaziou
Hello, Mario Martelli writes: > Please find my attempt at: https://github.com/mgmart/org-mode > Thank you. However, AFAIU, this change is about orgmanual.org, which is an outdated copy of the official manual in contrib/. Could you modify "org.texi" in doc/

Re: [O] [PATCH] protocol: allow users to disable warning about old style links

2017-06-21 Thread Mario Martelli
> The default capture template didn't work for me: > >(*"w"* > *"Default template"* > entry > (file+headline *"~/org/capture.org "* *"Notes"*) > *"* %^{Title}\n\n Source: %u, %c\n\n %i"* > *:empty-lines* 1) There are some asterisk

Re: [O] mimetype for orgmode files

2017-06-21 Thread William Denton
On 21 June 2017, Mario Martelli wrote: If official would mean registered with IANA, then it’s not. https://www.iana.org/assignments/media-types/media-types.xhtml On a related note, the =file= command [1] doesn't have the magic t

Re: [O] [PATCH] protocol: allow users to disable warning about old style links

2017-06-21 Thread Tyler Smith
On Wed, Jun 21, 2017, at 12:51 PM, Mario Martelli wrote: > >>  it would make sense to suggest the >> new style syntax as the default for use by us newbies. > > yeah, thought about that too. At the moment it’s still a copy of the old doc.  > > Got no feedback so far wether my approach would be a

[O] [PATCH] noweb documentation update (Was: Re: How to use noweb reference with argument..)

2017-06-21 Thread Kaushal Modi
Hello list, I have attached a patch (rebased off maint) that attempts at clarifying how certain aspects of noweb work based on my experience, with few complete examples. Note: I had to also revert a little bit of wording change that was made recently. I found pre-wording-change version easier to

Re: [O] mimetype for orgmode files

2017-06-21 Thread Mario Martelli
>> Is there an official mimetype for orgmode files? > > In `mailcap-mime-extensions' there is a value `(".org" . "text/x-org")'. > > Maybe that is for Org-Mode. It is :) https://lists.gnu.org/archive/html/emacs-orgmode/2011-01/msg00977.html

Re: [O] [PATCH] protocol: allow users to disable warning about old style links

2017-06-21 Thread Mario Martelli
> it would make sense to suggest the > new style syntax as the default for use by us newbies. yeah, thought about that too. At the moment it’s still a copy of the old doc. Got no feedback so far wether my approach would be acceptable or not. Therefore I did not put much effort into it. But

Re: [O] [PATCH] protocol: allow users to disable warning about old style links

2017-06-21 Thread Mario Martelli
> I'm just starting to use org-protocol, and I'm confused by this warning. > I can't find any description of the differences between the old and new > link styles in the documentation, or any pointers as to how and what I > should change to adopt the new syntax. The org manual links to > http://or

Re: [O] [PATCH] protocol: allow users to disable warning about old style links

2017-06-21 Thread Tyler Smith
On Wed, Jun 21, 2017, at 12:24 PM, Tyler Smith wrote: > > whereas the new-style key-value links would be: > > javascript:location.href='org-protocol://sub-protocol?url='+ > encodeURIComponent(location.href)+'&title='+ > encodeURIComponent(document.title)+'&selection='+ >

Re: [O] mimetype for orgmode files

2017-06-21 Thread Grant Rettke
On Wed, Jun 21, 2017 at 9:52 AM, John Kitchin wrote: > Is there an official mimetype for orgmode files? In `mailcap-mime-extensions' there is a value `(".org" . "text/x-org")'. Maybe that is for Org-Mode.

Re: [O] [PATCH] protocol: allow users to disable warning about old style links

2017-06-21 Thread Tyler Smith
On Wed, Jun 21, 2017, at 12:01 PM, Mario Martelli wrote: > > I have shared a proposal to move org-protocol documentation to core > documentation. > It’s mainly copied together from the old one and 9.0 NEWS. > > The important part regarding the new syntax could be found here: > > https://github.

Re: [O] [PATCH] protocol: allow users to disable warning about old style links

2017-06-21 Thread Tyler Smith
On Fri, Jun 16, 2017, at 02:13 AM, Nicolas Goaziou wrote: > > Wouldn't it be better to report it upstream as a bug? I don't think > there are many Org protocols applications out there and the conversion > to the new syntax is easy. I'm just starting to use org-protocol, and I'm confused by this w

[O] mimetype for orgmode files

2017-06-21 Thread John Kitchin
Is there an official mimetype for orgmode files? John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu

Re: [O] refresh from google calendar before showing agenda

2017-06-21 Thread Gyro Funch
On 6/21/2017 7:54 AM, Eric S Fraga wrote: > On Wednesday, 21 Jun 2017 at 13:33, Gyro Funch wrote: >> Unfortunately, I am a newbie with elisp, so am not sure of the best >> way to accomplish this? > > You could possibly *advice* the agenda dispatch command. See "Advising > Named Functions" in the

Re: [O] refresh from google calendar before showing agenda

2017-06-21 Thread Eric S Fraga
On Wednesday, 21 Jun 2017 at 13:33, Gyro Funch wrote: > Unfortunately, I am a newbie with elisp, so am not sure of the best > way to accomplish this? You could possibly *advice* the agenda dispatch command. See "Advising Named Functions" in the Elisp info manual. -- : Eric S Fraga via Emacs 26.

Re: [O] org-table export to ods/xlsx etc

2017-06-21 Thread Eric S Fraga
On Wednesday, 21 Jun 2017 at 13:01, Uwe Brauer wrote: > Debugger entered--Lisp error: (error "Cannot convert from csv format > to xlsx format?") What does (org-odt-do-reachable-formats "csv") return? -- : Eric S Fraga via Emacs 26.0.50, Org release_9.0.8-582-g15c9e9 signature.asc Description:

[O] orgtable-->csv--> excel coding problems UTF8

2017-06-21 Thread Uwe Brauer
Hi Consider | Name | Value | | nación |10 | The small function I wrote (defun org-export-to-xlsx () (interactive) (let* ((source-file (file-name-sans-extension (buffer-file-name (current-buffer (csv-file (concat source-file ".csv"))) (org-table-export csv-file "

[O] refresh from google calendar before showing agenda

2017-06-21 Thread Gyro Funch
Hi, I set up org-gcal to download my google calendar to an org file and would like to do an automatic org-gcal-fetch before displaying an org agenda view. Unfortunately, I am a newbie with elisp, so am not sure of the best way to accomplish this? I would appreciate any help or suggestions on cod

Re: [O] org-table export to ods/xlsx etc

2017-06-21 Thread Uwe Brauer
> Hello, > Eric S Fraga writes: > According to `org-odt-convert-processes', `org-odt-convert-capabilities' > and `org-odt-convert', isn't it already possible? Hm I set (add-to-list 'org-odt-convert-processes '("gnumeric" "ssconvert %i %o")) (setq org-odt-convert-process "gnumeric

Re: [O] Controlling new line characters during tangle

2017-06-21 Thread Giacomo M
Dear Kashual, 1. I visit a (Unix EOL[1]) org file on Windows. 2. I write a shell script in a shell source block to be tangled. 3. I tangle it. 4. As a result, I get a (Windows EOL) shell script, while I would like a Unix EOL shell script. Thanks, Giacomo [1] End Of Line convention On Jun 21, 2

[O] link fontification issue in org 9.0.8

2017-06-21 Thread John Kitchin
in a recent upgrade to 9.0.8, all the links have reverted to being fontified with an org-link face. For example, this link definition #+BEGIN_SRC emacs-lisp (org-link-set-parameters "red" :follow (lambda (path) (message "You clicked me.")) :export (lambda (path desc backend) (cond

Re: [O] Controlling new line characters during tangle

2017-06-21 Thread Kaushal Modi
On Wed, Jun 21, 2017, 5:21 AM Giacomo M wrote: > Hi all, > > I'm using emacs also under Windows, and would need to tangle > scripts/config files to be used under Unix. Is there any header argument > to enforce the desired new line characters in the tangled files? > At which point would you lik

[O] org table toggle narrowing and true column hiding

2017-06-21 Thread Uwe Brauer
Hi Googling showed me that the question has been asked 2 years ago, so I repeat it just in case: Any plans to implement true column hiding for org tables? Concerning narrowing (poor man version of hiding) | Name | passport | Other | | | <2> | | | John Doe | 1234567 |

[O] Controlling new line characters during tangle

2017-06-21 Thread Giacomo M
Hi all, I'm using emacs also under Windows, and would need to tangle scripts/config files to be used under Unix. Is there any header argument to enforce the desired new line characters in the tangled files? Thanks, Giacomo

Re: [O] [PATCH 2/2] org-refile: Fix inconsistency when listing refile targets

2017-06-21 Thread Allen Li
Thanks for the info. I was chasing down this bug in org-20170606, where it still required `org-protect-slash`, so I was anxious about its absence in your patch. On Wed, Jun 21, 2017 at 12:55 AM, Sebastian Reuße wrote: > Hello Allen, > > Allen Li writes: > >> On Mon, May 15, 2017 at 5:54 AM, Seba

Re: [O] [PATCH 2/2] org-refile: Fix inconsistency when listing refile targets

2017-06-21 Thread Sebastian Reuße
Hello Allen, Allen Li writes: > On Mon, May 15, 2017 at 5:54 AM, Sebastian Reuße wrote: >> * org.el (org-refile-get-targets): Setting org-refile-use-outline-path >> to `file' or `buffer-name' causes an additional target for the file’s >> root node to be inserted. This functionality was absent w

Re: [O] [PATCH 2/2] org-refile: Fix inconsistency when listing refile targets

2017-06-21 Thread Allen Li
On Mon, May 15, 2017 at 5:54 AM, Sebastian Reuße wrote: > * org.el (org-refile-get-targets): Setting org-refile-use-outline-path > to `file' or `buffer-name' causes an additional target for the file’s > root node to be inserted. This functionality was absent when using > `full-file-path'. We now a