Re: [O] [RFC, mini] org-mark-element-parent

2017-05-30 Thread Nicolas Goaziou
Hello, Marco Wahl writes: > is the following function worthy to occupy space in Orgmode? > > #v+ > (defun org-mark-element-parent () > "Put point at beginning of the parent element, mark at end." > (interactive) > (let ((parent (org-element-property :parent (org-element-at-point >

Re: [O] different key binding between GUI emacs and emacs -nw

2017-05-30 Thread Jean-Christophe Helary
> On May 30, 2017, at 15:51, Nicolas Goaziou wrote: > >> http://lists.gnu.org/archive/html/help-gnu-emacs/2017-05/msg00306.html >> >> Let me know if you need extra information. > > What happens if you replace, e.g., > > (org-defkey org-mode-map [(meta left)] 'org-metaleft) > > with > > (

Re: [O] [RFC, mini] org-mark-element-parent

2017-05-30 Thread Marco Wahl
Hi! Nicolas Goaziou writes: >> is the following function worthy to occupy space in Orgmode? >> >> #v+ >> (defun org-mark-element-parent () >> "Put point at beginning of the parent element, mark at end." >> (interactive) >> (let ((parent (org-element-property :parent (org-element-at-point))

[O] Bug: problems with org-columns with universal prefix argument [9.0.7 (release_9.0.7-439-g2906e5 @ /home/tews/src/org-mode/lisp/)]

2017-05-30 Thread Hendrik Tews
Hi, consider the following file * a ** b :PROPERTIES: :XXX: 2 :END: #+COLUMNS: %6XXX{+;%5.1f} %10ITEM when I move the cursor to item ** b and do C-u C-c C-x C-c (org-columns with universal argument), then column view is started for the whole buffer, but the

[O] [PATCH] document parent property update in column view

2017-05-30 Thread Hendrik Tews
--- doc/org.texi | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/org.texi b/doc/org.texi index 142fa9627..11c6a0f39 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -5263,7 +5263,8 @@ keeping track of your music CDs, where properties could be things such as th

Re: [O] org-agenda-highlight-todo may erroneously pickup icon 'display property.

2017-05-30 Thread Nicolas Goaziou
Hello, Keith David Bershatsky writes: > Depending upon a user's `org-agenda-prefix-format` (e.g., "%i %-10:c% > t%s"), `org-agenda-highlight-todo` may erroneously pickup an icon > `'display` property and then include/duplicate that icon in a new > space between the todo-keyword and the priority.

Re: [O] Bug: problems with org-columns with universal prefix argument [9.0.7 (release_9.0.7-439-g2906e5 @ /home/tews/src/org-mode/lisp/)]

2017-05-30 Thread Nicolas Goaziou
Hello, Hendrik Tews writes: > Hi, > > consider the following file > > * a > ** b >:PROPERTIES: >:XXX: 2 >:END: > > #+COLUMNS: %6XXX{+;%5.1f} %10ITEM > > when I move the cursor to item ** b and do C-u C-c C-x C-c > (org-columns with universal argument), th

Re: [O] [PATCH] document parent property update in column view

2017-05-30 Thread Nicolas Goaziou
Hello, Hendrik Tews writes: > --- > doc/org.texi | 12 +++- > 1 file changed, 11 insertions(+), 1 deletion(-) Thank you. Could you provide an appropriate commit message and use "git format-patch" to send your patch? See http://orgmode.org/worg/org-contribute.html for details. Also, no

Re: [O] different key binding between GUI emacs and emacs -nw

2017-05-30 Thread Tim Visher
Sometimes your Terminal application captures these 'extended' bindings. If you know that your Terminal application isn't doing that (for instance, by using key sequence help like ` k M-`) then I don't have any other help to offer. I've always just accepted that org mode keybindings differ between t

[O] [org] different key binding between GUI emacs and emacs -nw

2017-05-30 Thread Jean-Christophe Helary
> On May 30, 2017, at 21:21, Tim Visher wrote: > > Sometimes your Terminal application captures these 'extended' bindings. It is the opposite that's happening. Terminal works fine. It is the GUI that does not accept the bindings. And as I wrote, it is not limited to my macOS (Emacs.app and Aq

Re: [O] [org] different key binding between GUI emacs and emacs -nw

2017-05-30 Thread Scott Randby
On 05/30/2017 08:29 AM, Jean-Christophe Helary wrote: > It is the opposite that's happening. Terminal works fine. It is the GUI > that does not accept the bindings. And as I wrote, it is not limited to > my macOS (Emacs.app and Aquamacs show the same behavior) but to other > people's GTK+ linux or

Re: [O] [org] different key binding between GUI emacs and emacs -nw

2017-05-30 Thread Tim Visher
On Tue, May 30, 2017 at 8:29 AM, Jean-Christophe Helary < jean.christophe.hel...@gmail.com> wrote: > > On May 30, 2017, at 21:21, Tim Visher wrote: > > Sometimes your Terminal application captures these 'extended' bindings. > > > It is the opposite that's happening. Terminal works fine. It is the

Re: [O] [org] different key binding between GUI emacs and emacs -nw

2017-05-30 Thread Charles C. Berry
On Tue, 30 May 2017, Scott Randby wrote: On 05/30/2017 08:29 AM, Jean-Christophe Helary wrote: It is the opposite that's happening. Terminal works fine. It is the GUI that does not accept the bindings. And as I wrote, it is not limited to my macOS (Emacs.app and Aquamacs show the same behavior)

Re: [O] [PATCH] Make `org-tags-view' stop setting globally `org--matcher-tags-todo-only'

2017-05-30 Thread Nicolas Goaziou
Hello, Samuel Loury writes: > I would like to propose a patch for `org-tags-view' to make it stop > setting globally `org--matcher-tags-todo-only' > > Setting `org--matcher-tags-todo-only' has side effects on other > commands. For instance, the following clock table changes its behavior > whethe

[O] Set org-agenda-span per file

2017-05-30 Thread Florian Lindner
Hello, is it possible to set the number of days that are shown in the agenda, i.e. org-agenda-span on a per file basis? I want to show two weeks of deadlines in my own org file, and just 4 days of appointments in the org file synced from the department's calendar. Thanks, Florian

Re: [O] [org] different key binding between GUI emacs and emacs -nw

2017-05-30 Thread Tim Cross
Just add my confirmation that I have no issues with GUI bindings on either MacOS Sierra with emacs 25.2 and org 9.0.7 or under Linux with Ubuntu 17.04 (same emacs and org versions). What happens if 1. You use emacs -q and just load the version of org which is bundled with emacs? 2. you use emacs

Re: [O] [org] different key binding between GUI emacs and emacs -nw

2017-05-30 Thread Jean-Christophe Helary
> On May 31, 2017, at 7:28, Tim Cross wrote: > > Just add my confirmation that I have no issues with GUI bindings on either > MacOS Sierra with emacs 25.2 and org 9.0.7 or under Linux with Ubuntu 17.04 > (same emacs and org versions). There were *some* people on help-emacs that could reprodu

Re: [O] [org] different key binding between GUI emacs and emacs -nw

2017-05-30 Thread Tim Cross
It is certainly a weird issue. I can't see how org-mode would behave differently at the OS level from other emacs package bindings. Likewise, there is nothing different or unusual about how org-mode does key bindings. If there was a problem at the OS, window manager or interface library (i.e. gtk)

[O] how to replace includegraphics?

2017-05-30 Thread edgar
Hello dear list, * Summary I want to know if someone could tell me how to replace (the macro, function, string) includegraphics for something else when exporting to LaTeX. In my case, simplesvg. * Why I have my own version of the svg package (I only extracted bits and pieces from it long tim

Re: [O] [org] different key binding between GUI emacs and emacs -nw

2017-05-30 Thread Jean-Christophe Helary
> On May 31, 2017, at 11:38, Tim Cross wrote: > > It is certainly a weird issue. I couldn't agree more :) > If there was a problem at the OS, window manager or interface library (i.e. > gtk) level, it should affect all bindings. That's correct. Basically, what happens in that in GUI mode,

Re: [O] Set org-agenda-span per file

2017-05-30 Thread Loris Bennett
Hi, Florian Lindner writes: > Hello, > > is it possible to set the number of days that are shown in the agenda, > i.e. org-agenda-span on a per file basis? > > I want to show two weeks of deadlines in my own org file, and just 4 > days of appointments in the org file synced from the department's

Re: [O] [org] different key binding between GUI emacs and emacs -nw

2017-05-30 Thread Jean-Christophe Helary
Apologies, > On May 31, 2017, at 12:51, Jean-Christophe Helary > wrote: > This morning I have installed emacs from macport (emacs-app-devel) and I've > also built it from the repository (./configure with-ns). > > In the locally build version Esc-Left promotes a header. But Esc-Right does > n