Re: [O] buffer-file-name in [* Org src *] buffers

2018-04-26 Thread Clément Pit-Claudel
On 2018-04-26 19:34, Bastien wrote:
> Hi Clément and Nicolas,
> […]
> I've removed the setting of `buffer-file-name' in Org Src buffers.

Wonderful news, thanks Bastien !



Re: [O] Please see attached debug-init

2018-04-26 Thread Nick Dokos
Charles Millar  writes:

> Hi Nicholas,
>
> On 04/26/2018 07:34 PM, Bastien wrote:
>
> Hi Charles,
> 
> Charles Millar  writes:
>
> Attached --debug-init when starting -
> 
> is this with emacs -Q?  If not, can you bisect your configuration?
> 
> Thanks,
> 
> emacs -Q starts fine.
>
> The problem may be with
>
> require 'ox-XXX
>
> When I worked my way down to (require 'ox-texinfo) there was no problem. When 
> I uncomment that line the startup error appeared.
>
> In the warnings buffer part of the message is
>
> error: Invalid byte opcode: op=183, ptr=31

Byte compilation is not necessarily backwards compatible.

If the file was compiled with emacs 27, then earlier versions of emacs
will not necessarily be able to deal with it. If you recompile all
*.el files with emacs 24, they should work with emacs 24 and *also*
with emacs 27.

-- 
Nick




Re: [O] Please see attached debug-init

2018-04-26 Thread Charles Millar

Hi Nicholas,


On 04/26/2018 07:34 PM, Bastien wrote:

Hi Charles,

Charles Millar  writes:


Attached --debug-init when starting -

is this with emacs -Q?  If not, can you bisect your configuration?

Thanks,

emacs -Q starts fine.

The problem may be with

require 'ox-XXX

When I worked my way down to (require 'ox-texinfo) there was no problem. 
When I uncomment that line the startup error appeared.


In the warnings buffer part of the message is

error: Invalid byte opcode: op=183, ptr=31

As I mentioned earlier, very poorly, when I start emacs 27.0.50 with the 
same OS, org versio and .emacs file, I have no problem


Charlie


Re: [O] inherit priority

2018-04-26 Thread Bastien
Hi Jesse,

Jesse Johnson  writes:

> Crazy timing! I've been testing my implementation for a few months,
> made some big adjustments a couple weeks ago and plan to submit a
> patch this weekend.

Nice, thanks in advance - also, when it comes to inheritance, we can
hit performance issues.  Let's make sure a new feature in this area
has no impact on the speed of, e.g., the agenda generation.

M-x profiler-start RET
M-x elp-instrument-function RET

are your friends!

-- 
 Bastien



Re: [O] [RFC] Could we get rid of Org specific "mark ring"

2018-04-26 Thread Bastien
Hi Samuel,

Samuel Wales  writes:

> did you read the entire thread?  it goes into detail that i cannot
> redo.

yes, I read the thread.  I understand your position and that of Allen,
and there is absolutely no rush about this change.

But the fact that the Global Mark Ring does not fit several uses is
not a reason for not moving forward - I like the idea of a "link ring"
and I think we can implement it.

> if you did, do you have specific questions?

Yes: I'm wondering what precise use-case of `org-mark-push-ring' is
not covered by either the emacs local mark ring or global one?

Also, xref calls it a "stack", which I find more intuitive.

If xref implements what users expect from a global ring, then
let's fix the global ring that way.  And make "link rings" based
on a more generic global ring.

In any case, there is no rush, but I think the effort is worth it.

Best,

-- 
 Bastien



Re: [O] inherit priority

2018-04-26 Thread Jesse Johnson



On 04/26/2018 04:34 PM, Bastien wrote:

There have been several requests for priority inheritance over the
years. If it can't currently be done, I am willing to take a look at
implementing it.

Did you make progress on this?


Crazy timing! I've been testing my implementation for a few months, made 
some big adjustments a couple weeks ago and plan to submit a patch this 
weekend.



FWIW I'm not convinced it is worth implementing priority inheritance,
and like Nicolas, I don't remember any request for this (but my memory
can be wrong here).


Well, I asked for it, so there's at least one person asked for it! Very 
tedious busy-body work setting priority on dozens of subtasks when they 
all share the same priority as their parent task. Will save me hours of 
effort over the course of a year. I'm surprised it wasn't already 
implemented.


FWIW, I found a few requests for this feature while searching for a 
solution. However I implemented it because it's useful to me, not 
because anyone asked me to.


Jesse



Re: [O] [RFC] Could we get rid of Org specific "mark ring"

2018-04-26 Thread Samuel Wales
hi bastien,

did you read the entire thread?  it goes into detail that i cannot redo.

if you did, do you have specific questions?



Re: [O] fr: next-error for agenda

2018-04-26 Thread Bastien
Thanks for replying.

Samuel Wales  writes:

> do a text search in agenda
> use next-error to visit buffer and put point on every header in
> agenda sequence

I would need more details.

Can you give an example agenda buffer?

An example text search?

Should the text search fail?

What means "put point on every header in agenda sequence"?

> the frame must be able to have only a single window in it

This I think I understand.

-- 
 Bastien



Re: [O] Trouble with scheduled item with deadline on agenda

2018-04-26 Thread Alex Branham
On Thu 26 Apr 2018 at 20:20, Bastien  wrote:

> Er, indeed - both bugs should now be fixed in maint.

Looks good to me, thanks!



Re: [O] [RFC] Could we get rid of Org specific "mark ring"

2018-04-26 Thread Bastien
Hi Samuel,

Samuel Wales  writes:

> On 4/26/18, Bastien  wrote:
>> Good idea, +1 for me.
>
> i'd actually stay on an old version of org forever just to avoid the
> org mark ring being removed.  when i click on a link [or similar], i
> want a single command that is guaranteed to go back to the exact
> location.

Why would that be impossible to achieve with emacs mark?

-- 
 Bastien



Re: [O] Trouble with scheduled item with deadline on agenda

2018-04-26 Thread Bastien
Thanks for the quick follow-up!

Alex Branham  writes:

> It's a bug. This should show up on today's agenda:
>
> * TODO test
> DEADLINE: <2018-04-27 Fri>
>
> because the value of 'org-deadline-warning-days' is 14 and it's due
> tomorrow, but it doesn't appear.

Er, indeed - both bugs should now be fixed in maint.

-- 
 Bastien



Re: [O] fr: next-error for agenda

2018-04-26 Thread Samuel Wales
do a text search in agenda
use next-error to visit buffer and put point on every header in agenda sequence
the frame must be able to have only a single window in it



Re: [O] Trouble with scheduled item with deadline on agenda

2018-04-26 Thread Bastien
Hi Alex,

Alex Branham  writes:

> now deadlines aren't being put into the agenda at all
> unless they are also scheduled. :-(

Is this a bug or expected?  If this is a bug, can you send an example?

This area can be confusing and is hard to test, examples are always
very welcome.

Thanks!

-- 
 Bastien



Re: [O] Bulk re-scheduling in agenda view

2018-04-26 Thread Bastien
Hi Michael,

Michael Hoffman  writes:

> Thanks Bastien. I reported this as a bug later and Nicolas Goaziou
> fixed it. Works as expected now.

Thanks for confirming!

-- 
 Bastien



Re: [O] org-move-subtree-down whitespace dance

2018-04-26 Thread Bastien
Hi Marco,

Marco Wahl  writes:

> I still propose to let org-move-subtree-down simply just move the
> subtree as it is.  Concretely see the patch.

I think this new behavior is more predictible, I applied your patch,
thanks a lot!

-- 
 Bastien



Re: [O] [Capture] Monthly/weekly date tree

2018-04-26 Thread Bastien
Hi Dominik,

Dominik Schrempf  writes:

> Is this feature already available or how could I imitate this
> feature?

 ‘(file+olp+datetree "path/to/file" [ "Level 1 heading" ])’
  This target(1) will create a heading in a date tree(2) for
  today’s date.  If the optional outline path is given, the tree
  will be built under the node it is pointing to, instead of at
  top level.  Check out the ‘:time-prompt’ and ‘:tree-type’
  properties below for additional options.

Is :tree-type of any help here?

-- 
 Bastien



Re: [O] cautionary tale: avoid creating/using a macro called "title"

2018-04-26 Thread Bastien
Hi Nicolas and Eric,

Eric S Fraga  writes:

> On Friday, 23 Mar 2018 at 23:42, Nicolas Goaziou wrote:
>> A bit late, yet fixed. Thank you.
>
> Thank you!  Works fine now.  And I have increased confidence in my
> sanity. ;-)

Indeed, thanks for fixing this!  Let's all increase our confidence in
our sanity, that something we strongly need when debugging Emacs :)

-- 
 Bastien



Re: [O] [RFC] Could we get rid of Org specific "mark ring"

2018-04-26 Thread Samuel Wales
On 4/26/18, Bastien  wrote:
> Good idea, +1 for me.

i'd actually stay on an old version of org forever just to avoid the
org mark ring being removed.  when i click on a link [or similar], i
want a single command that is guaranteed to go back to the exact
location.



Re: [O] Fix spelling in worg beamer

2018-04-26 Thread Bastien
Hi Oscar,

to help enhancing Worg, just create a user on https://code.orgmode.org
and let me know, I will add you as a contributor.

Thanks!

-- 
 Bastien



Re: [O] [RFC][mini] Bulk action on current line in case of no bulk marks

2018-04-26 Thread Bastien
Hi Marco,

Marco Wahl  writes:

> Currently calling for bulk action ('B') in an agenda without bulk marks
> does no action at all and says
>
> No entries are marked
>
> What do you think about bulk mark the current line instead and go ahead
> with the bulk action?

Good idea, this is now in master.

Thanks!

-- 
 Bastien



Re: [O] Trouble with scheduled item with deadline on agenda

2018-04-26 Thread Alex Branham

On Thu 26 Apr 2018 at 19:25, Bastien  wrote:

> Hi Alex,
>
> Alex Branham  writes:
>
>> now deadlines aren't being put into the agenda at all
>> unless they are also scheduled. :-(
>
> Is this a bug or expected?  If this is a bug, can you send an example?

It's a bug. This should show up on today's agenda:

* TODO test
DEADLINE: <2018-04-27 Fri>

because the value of 'org-deadline-warning-days' is 14 and it's due
tomorrow, but it doesn't appear.



Re: [O] Why the new structure template engine not in Org ELPA package?

2018-04-26 Thread Bastien
Hi,

"numbch...@gmail.com"  writes:

> RT.

I don't know what "RT." means, please be more explicit.

Thanks,

-- 
 Bastien



Re: [O] Org-mode new website accept PR like GitHub?

2018-04-26 Thread Bastien
Hi,

"numbch...@gmail.com"  writes:

> Can I send PR to add contrib support at new Org-mode source code
> website like this: https://code.orgmode.org/bzg/org-mode/pulls/1

No, but you can send patches against
https://code.orgmode.org/bzg/orgweb on this list.

-- 
 Bastien



Re: [O] inherit priority

2018-04-26 Thread Bastien
Hi Jesse,

Jesse Johnson  writes:

> There have been several requests for priority inheritance over the
> years. If it can't currently be done, I am willing to take a look at
> implementing it.

Did you make progress on this?

FWIW I'm not convinced it is worth implementing priority inheritance,
and like Nicolas, I don't remember any request for this (but my memory
can be wrong here).

Best,

-- 
 Bastien



Re: [O] Org-Mode babel and gherkin

2018-04-26 Thread Bastien
"Charles R (Charlie) Martin"  writes:

> gherkin is the specification language used for behavior-driven design
> in tools like Cucumber.

Thanks,

-- 
 Bastien



Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-26 Thread Bastien
Hi Nicolas,

orgalist.el works great for me, thanks for writing it.

Just out of curiosity, did you consider make this a minor more from
within org-list.el (e.g. `org-list-mode')?

Nicolas Goaziou  writes:

> As stated before, IMO, the only viable use for contrib/ is to be
> used as an incubator for inclusion in Org.

For now this is what contrib/ is meant to be, but I would not even
use it like this today.

code.orgmode.org aims at beginning the place to share Org related
code, whether it is a contributed package or something to be later
included in Org's core.

> Packages in contrib/ should be stored somewhere else, it could even
> be in an Org ELPA.

For now we removed some files one by one, leaving to the authors
the choice of where the code should live -- Github or elsewhere.

As for orgalist.el: does it live somewhere outside of this list?

If not, I suggest adding it on GNU ELPA or creating a repository
on code.orgmode.org.

We need to do this before Org 9.2 to be able to show users an
alternative - we cannot just let them now it has been deleted.

Thanks!

-- 
 Bastien



Re: [O] column view with display-line-numbers-mode

2018-04-26 Thread Bastien
Hi Eric,

Bastien  writes:

> can you try the attached patch against master?

I've applied the patch in master...

> There is still a problem with big .org files, because we cannot
> recompute the colview header format depending on the width reserved
> for the line number... but it goes in the right direction.

... and let's see if we can fix all situations.

Thanks,

-- 
 Bastien



Re: [O] Strange, issue when I hit word wrap limit.

2018-04-26 Thread Bastien
Hi Richard,

I assume you solved this issue, but I don't see it has been answered,
so just checking in case.

Thanks for any follow-up,

-- 
 Bastien



Re: [O] Making a variable persistent when refreshing the agenda

2018-04-26 Thread Bastien
Hi Luke,

Luke  writes:

> Is this possible? If so, any ideas how?

I would simply set `org-deadline-warning-days' manually with

M-: (setq org-deadline-warning-days 3)

then `r' to redo the agenda.  This is not terribly longer
than setting the number of days from the prompt.

HTH,

-- 
 Bastien



Re: [O] Smart archiving of subtrees with parent headlines

2018-04-26 Thread Bastien
Hi Mark,

Mark Edgington  writes:

> Here's the gist URL:
>
>   https://gist.github.com/edgimar/072d99d8650abe81a9fe7c8687c0c993

I have added a FAQ in Worg for this:

"Can I archive a subtree while keeping its hiearchy above?"

I'd be interested in integrating such a functionality in
org-archive.el.

Do you think that is feasible?

Thanks,

-- 
 Bastien



Re: [O] Trouble with scheduled item with deadline on agenda

2018-04-26 Thread Alex Branham

On Thu 26 Apr 2018 at 18:34, Bastien  wrote:
>> ** TODO Pay estimated taxes
>> SCHEDULED: <2018-03-31 Sat> DEADLINE: <2018-04-17 Tue -20d>
>>
>> and org-agenda-skip-deadline-prewarning-if-scheduled set to
>> 'prescheduled. Since it is scheduled for a date later than today I
>> would expect that it doesn't appear on my agenda today. However, it
>> looks like the prewarning -20d is causing it to appear anyway.
>>
>> Am I misunderstanding something here or is this a bug?
>
> yes, this is a bug, fixed now in maint, can you double check and let
> me know if things are working okay?

Thanks for the reply. It seems like this might be fixed though it's hard
to tell because now deadlines aren't being put into the agenda at all
unless they are also scheduled. :-(

Alex



Re: [O] Some org-mode key interface popup buffers can't by managed by display-buffer-alist

2018-04-26 Thread Bastien
Hi,

stardiviner  writes:

> I use following config, but does not work. How can I manage those
> popup buffers with display-buffer-alist?
>
>
> (add-to-list 'display-buffer-alist
>  '("^\\*Org Agenda\\*" (display-buffer-same-window)))
>
> (add-to-list 'display-buffer-alist
>  '("^\\*Clock Task Select\\*"
> (display-buffer-below-selected)))

Org uses `org-no-popups' in `org-switch-to-buffer-other-window' which
nils display-buffer-alist to prevent tweaking this manually.

Most of the time, org-switch-to-buffer-other-window is preferred over
switch-to-buffer-other-window, but if you find an occurrence that does
not seem justified, please report so.

Thanks,

-- 
 Bastien



Re: [O] git push to Worg error

2018-04-26 Thread Bastien
Hi,

stardiviner  writes:

> You mean you forked https://code.orgmode.org/bzg/worg.git ?

Note that you can fork bzg/org-mode and bzg/worg from code.orgmode.org
but you cannot create "pull requests" from with code.orgmode.org.

The place to share patches is this list.

Of course, it's always possible to become a core contributor of Worg
or Org-mode, you just need to create a user on code.orgmode.org then
send me your username.

Thanks,

-- 
 Bastien



Re: [O] File name format in ARCHIVE property

2018-04-26 Thread Bastien
Hi Roland,

you may look for "datetree" in the manual and find something useful
for you.

Best,

-- 
 Bastien



Re: [O] Bug: org-capture when :prepend t org-capture-kill removes one char too much from target buffer [9.1.7 (9.1.7-18-g2f587d-elpaplus @ /Users/devil/.emacs.d/elpa/org-plus-contrib-20180312/)]

2018-04-26 Thread Bastien
Hi Adam,

Adam Faryna  writes:

> When use org-capture which template that targets file with :prepend
> t, org-capture-kill removes one char too much from target buffer, in
> result next item in target file looses one of asterisk.

Do you still have this issue?

If so, can you test the attached patch against org-capture.el?

If reverts 2f587d4, which may be problematic in your case.

Thanks a lot for reopening and double-checking this issue.

Best,

-- 
 Bastien
diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index cd54491..fe308e0 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -1114,7 +1114,7 @@ may have been stored before."
   (setq level (org-get-valid-level
 		   (if (org-at-heading-p) (org-outline-level) 1)
 		   1))
-  (if reversed? (outline-next-heading) (org-end-of-subtree t t)))
+  (if reversed? (outline-next-heading) (org-end-of-subtree t)))
  ;; Insert as a top-level entry at the beginning of the file.
  (reversed?
   (goto-char (point-min))


Re: [O] [PATCH] Document undocumented undocumented behavior in two org-timestamp-up and org-timestamp-down

2018-04-26 Thread Bastien
Hi Andrew and Nicolas,

Nicolas Goaziou  writes:

> Would it make sense to update the manual accordingly? If so, would you
> want to do it?

I've now done so in master, thanks.

-- 
 Bastien



Re: [O] Can't set full face attributes in variable org-todo-keyword-faces

2018-04-26 Thread Bastien
Hi,

stardiviner  writes:

> I have following settings:
>
> ```elisp
>
> (setq org-todo-keyword-faces
>   '(;;; todo keywords
>     ("TODO" :foreground "orange"
>  :box '(:color "dim gray" :line-width -1))
>     ("URGENT" :foreground "red"
>  :box '(:color "dim gray" :line-width -1
>
> ```

Instead of ":foreground "orange"" you should use the name of a face
that you can define yourself.

For example,

(setq org-todo-keyword-faces '(("START" . org-priority)))

will use the org-priority face for the TODO keywords "START".

HTH,

-- 
 Bastien



Re: [O] [RFC] Add new export backend for Jekyll

2018-04-26 Thread Bastien
Hi Łukasz,

Grant Rettke  writes:

> That looks great.

+1!

> Best way to start is to put it on GitHub so others can try it out.

+1 :)

You can also use https://code.orgmode.org, of course.

Thanks for contributing this!

-- 
 Bastien



Re: [O] bokeh, ob-ipython and org-mode HTML export

2018-04-26 Thread Bastien
Hi Deepak,

> I have a blog post up that might be of interest to some of you on this
> list: http://cherian.net/posts/bokeh-org-mode.html.

thanks for sharing this!  If you find a place to advertize it on Worg,
the community-driven documentation, please go ahead.

http://orgmode.org/worg/org-contribute.html

Best,

-- 
 Bastien



Re: [O] Trouble with scheduled item with deadline on agenda

2018-04-26 Thread Bastien
Hi Alex,

Alex Branham  writes:

> I have this item in one of my agenda files:
>
> ** TODO Pay estimated taxes
> SCHEDULED: <2018-03-31 Sat> DEADLINE: <2018-04-17 Tue -20d>
>
> and org-agenda-skip-deadline-prewarning-if-scheduled set to
> 'prescheduled. Since it is scheduled for a date later than today I
> would expect that it doesn't appear on my agenda today. However, it
> looks like the prewarning -20d is causing it to appear anyway.
>
> Am I misunderstanding something here or is this a bug?

yes, this is a bug, fixed now in maint, can you double check and let
me know if things are working okay?

Thanks!

-- 
 Bastien



Re: [O] ical2org ready

2018-04-26 Thread Bastien
Hi Robert,

Robert Horn  writes:

> Version 0.97 of ical2org is available at
> https://github.com/rjhorniii/ical2org-go.  It converts from Ical format,
> e.g., .ics files, into an org-mode file.

Great, thanks for sharing this!

-- 
 Bastien



Re: [O] Org-Mode babel and gherkin

2018-04-26 Thread Bastien
Hi Charles,

"Charles R (Charlie) Martin"  writes:

> Has anyone set up a babel language for gherkin?

Would you mind sharing more information on what is gherkin?

Thanks,

-- 
 Bastien



Re: [O] Orgmode repeater intervals with end date

2018-04-26 Thread Bastien
Hi Kark and Tory,

Karl Voit  writes:

> http://karl-voit.at/2017/01/15/org-clone-subtree-with-time-shift/
> I do think I remember that I linked to this article somewhere in
> Worg.

I've now added a FAQ to this in Worg.

"How can I let a task repeat until a certain date?"

Thanks!

-- 
 Bastien



Re: [O] syncing multiple calendars with org-caldav

2018-04-26 Thread Bastien
Hi Saša,

Saša Janiška  writes:

> in the past I was using org-caldav package to sync my calendar (and
> contacts) entries with my Android phones via Baikal server, but at some
> point it got broken - see
> https://github.com/dengste/org-caldav/issues/51 so I had to resort to
> another solution by using vdiryncer.

Please contact https://github.com/dengste/org-caldav author directly
for such questions if you haven't already.

Thanks,

-- 
 Bastien



Re: [O] Bulk re-scheduling in agenda view

2018-04-26 Thread Michael Hoffman

On 4/26/2018 7:34 PM, Bastien wrote:

Michael Hoffman  writes:

The org manual
 seems to indicate
this is possible using double plus:


Schedule all items to a new date. To shift existing schedule dates by
a fixed number of days, use something starting with double plus at the
prompt, for example ‘++8d’ or ‘++2w’.


When I try this, however, I always get re-scheduling from the current
date.


I cannot reproduce this -- beware that the prompt shows the date as
if it was with only one "+"... but the bulk rescheduling effectively
reschedule entries by adding the number of days to *each* of them.


Thanks Bastien. I reported this as a bug later and Nicolas Goaziou fixed 
it. Works as expected now.


Many thanks for your work on org-mode, an essential part of my daily 
workflow.


Michael




Re: [O] Attempting to automate worg build

2018-04-26 Thread Bastien
Hi Kaushal,

Kaushal Modi  writes:

> On Mon, Jan 8, 2018 at 10:06 AM Chris Keating <
> christopherkeat...@gmail.com> wrote:
>
> Hello fellow org-mode enthusiasts.
>
> I noticed that the server move for orgmode.org has caused some of
> the docs to 404.
>
> Glad to know that we have more people working on this :)

I've made it so that the emacs.el configuration on the server is also
published here:

https://orgmode.org/worg/emacs.el.txt

-- 
 Bastien



Re: [O] "Reference Dump" rant

2018-04-26 Thread Bastien
Hi Lawrence,

Lawrence Bottorff  writes:

> Yes, Worg is great.

Well, Worg is full of useful contents but it is too chaotic, to the
point it may become scary for newcomers.  We need to work on that.

> BTW, where can I get the source for the latest manual?

Online here:
https://orgmode.org/manual/index.html
https://orgmode.org/guide/

And in the git repository:
https://code.orgmode.org/bzg/org-mode/src/master/doc/org-manual.org

See https://orgmode.org/#docs for more.

HTH,

-- 
 Bastien



Re: [O] Time shifting functions

2018-04-26 Thread Bastien
Hi Andrei,

Andrei Beliankou  writes:

> I wonder if Org-mode has a convinient function to shift a timestamp with
> a (weekly) repeating interval by that interval.

Actually the same way `org-read-date' reads the time in the timestamp
it could also read a repeater interval, so that C-c C-s would present
you with this repeater interval by default.

Would that make sense for you?

-- 
 Bastien



Re: [O] [RFC] Could we get rid of Org specific "mark ring"

2018-04-26 Thread Bastien
Hi Nicolas,

Nicolas Goaziou  writes:

> As the title suggests, I'm wondering if we could remove Org's own
> implementation of the mark ring

Good idea, +1 for me.

-- 
 Bastien



Re: [O] Icalendar / exclude events older than 2 months

2018-04-26 Thread Bastien
Hi Jota,

Jota Pin  writes:

> I would like to set a hook that excludes events older than 2 months
> from exporting using org-icalendar-combine-agenda-files.
>
> I do not know enough lisp for that, thanks for any help ,

Here is an idea on how to achieve this manually.

0. Set a dedicated tag in `org-icalendar-exclude-tags'

1. Create an agenda custom command listing events olders than
   two months: ("@" tags-todo "+SCHEDULED<=\"<-2m>\"")

2. In such an agenda view, select all items in the region and
   hit ":" (org-agenda-set-tags) to add your dedicated tag

Then export the calendar should exclude these events.

I've not tested, but you get the idea.

HTH,

-- 
 Bastien



Re: [O] Which org mode document should I modify for new header argument?

2018-04-26 Thread Bastien
Hi,

stardiviner  writes:

> I try to find information in Org-mode web page
> https://orgmode.org/worg/org-contribute.html#patches

I updated this page to explain what manual to edit on maint and
master, thanks.

-- 
 Bastien



Re: [O] Org-Mode babel and gherkin

2018-04-26 Thread Charles R (Charlie) Martin
gherkin is the specification language used for behavior-driven design in
tools like Cucumber.

https://github.com/cucumber/cucumber/wiki/Gherkin
https://medium.com/@NeotericEU/speak-gherkin-and-learn-how-to-collect-requirements-for-your-project-dad171da8fb

On Thu, Apr 26, 2018 at 5:34 PM, Bastien  wrote:

> Hi Charles,
>
> "Charles R (Charlie) Martin"  writes:
>
> > Has anyone set up a babel language for gherkin?
>
> Would you mind sharing more information on what is gherkin?
>
> Thanks,
>
> --
>  Bastien
>


Re: [O] Question about org-id-update-id-locations

2018-04-26 Thread Bastien
Hi Roland,

Roland Everaert  writes:

> I am currently writing a function to remove duplicated Ids reported
> by org-id-update-id-locations

Can you share your code so far?  That way we can surely better
understand how to help.

-- 
 Bastien



Re: [O] Alternatives to inlinetasks? [was: Problems created by inlinetasks in agenda views]

2018-04-26 Thread Bastien
Hi Nicolas and Carsten,

Carsten Dominik  writes:

> Either we keep it as the hack, or use the limitation you
> mention and get rid of the END line.

I think getting rid of the END line goes in the right direction...

> But I am not sure it is really with the trouble to replace a bad
> hack with a slightly better hack.

... but I'm definily not sure neither.

I'd favor a solution where inline tasks are really simple:

0. Prevent cycling for tasks with a high number of stars
   ("high" being defined by the user as an option).

1. Allow TODO keywords, priority, tags, SCHEDULED and DEADLINE
   but nothing else.

2. Archiving and refiling DTRT.

3. ... and we move org-inlinetask.el outside of Org's core.

 is really too much clutter and we can simplify
things by saying "more than X stars are going to be inline tasks by
default".

WDYT?

-- 
 Bastien



Re: [O] Should wip-cite branch be merged to master?

2018-04-26 Thread Bastien
Hi all,

Richard Lawrence  writes:

> I don't have too much to add to this, though I do want to thank
> everyone for their continued interest in citations, and the work that
> has been done!

+1!

With Org 9.2 knocking at the door, we can let users Org 9.2 a few
months before integrating such big features -- especially if they
come with new syntax.

In any case, great to see this moving forward!

Best,

-- 
 Bastien



Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-04-26 Thread Bastien
Hi Tumashu,

Nicolas Goaziou  writes:

> AFAIC, I'd rather deal with email than with a web interface. However,
> Bastien accepted PR from code.orgmode.org in the past.

PS: Just to be clear, we don't accept PR from code.orgmode.org, this
was just a left-over from the default configuration of gogs.

Thanks,

-- 
 Bastien



Re: [O] git://orgmode.org/org-mode.git --> g...@code.orgmode.org:bzg/org-mode.git : Now password is required

2018-04-26 Thread Bastien
Hi Brent,

https cloning is for users who just want to git pull:
https://code.orgmode.org/bzg/org-mode.git

git:// cloning is for developers with a username on code.orgmode.org:
git clone git://code.orgmode.org/bzg/org-mode.git

HTH,

-- 
 Bastien



Re: [O] taskjuggler subtract scheduled and deadline

2018-04-26 Thread Bastien
Hi Edgar,

sorry your question didn't receive answer - I'm copying
ox-taskjuggler.el maintainers in case that helps.

@Christian: I don't remember if you are still using and
maintaining ox-taskjuggler.el -- feel free to correct me
if I'm wrong!

Thanks,

-- 
 Bastien



Re: [O] buffer-file-name in [* Org src *] buffers

2018-04-26 Thread Bastien
Hi Clément and Nicolas,

Clément Pit-Claudel  writes:

>> * Proposed bug I
>>   C-x k kills the edit buffer without questions; the overlay
>>   remains, but now links to a deleted buffer.
>> * Proposed bug II
>>   C-x C-c kills a modified edit buffer silently, without offering to
>>   save your work. I have lost work like that a number of times
>>   recently.
>> * Proposed bug III
>>   C-x s does not offer to save a modified edit buffer

I've removed the setting of `buffer-file-name' in Org Src buffers.

buffer-offer-save being non-nil, but I and II are solved, and I don't
see a situation where bug III is still relevant when bugs I and II are
fixed.

Let me know if you think otherwise.

Thanks,

-- 
 Bastien



Re: [O] CI for worg

2018-04-26 Thread Bastien
Hi Mark,

Mark Edgington  writes:

> Also, on a related note, it seems to me like there should be a
> standalone build-script or Makefile for publishing the worg org-files
> to a local html_export folder -- that way contributors can at least
> check that everything publishes correctly on their own machines before
> pushing changes.

This would be good to have, yes.  In the meantime, you can check
https://orgmode.org/worg/emacs.el.txt and tweak something from it
to be able to share your Worg-export configuration.

HTH,

-- 
 Bastien



Re: [O] priorities on lists

2018-04-26 Thread Bastien
Hi Samuel,

Samuel Wales  writes:

> i am generally sort of leery of org adding header features to lists,
> as lists are supposed to be lightweight, but currently, conversion
> from header does preserve priority cookies, which i think is trttd.

For the record and FWIW, I'm not for adding rich features to lists as
it would make them too close to headlines IMO.  Yes, I'm even against
being able to cycling through list items.

Best,

-- 
 Bastien



Re: [O] org-gcal error http 400 - 401

2018-04-26 Thread Bastien
Hi Joseph,

Joseph Vidal-Rosset  writes:

> I tried with emacs 25 and I had this error:
>
> request: Symbol’s function definition is void: record
>
> The help of users of org-gcal will be very welcome.

if you still struggle with org-gcal, you'd better contact
the authors of that package directly.

HTH,

-- 
 Bastien



Re: [O] [RFC] Dog food, anyone?

2018-04-26 Thread Bastien
Hi Nicolas,

it would be nice to make the switch to org-manual.org for Org 9.2,
and to delete org.texi entirely from the master branch.

I guess we need to add some Makefile rules so that "make pdf" first
exports .org => .texi then exports .texi to .pdf... is that so?

I'd rather make the switch now so that users and contributors are
not confused by the presence of two manuals in the repo.

Thanks,

-- 
 Bastien



Re: [O] agenda clockreport -- include tags?

2018-04-26 Thread Bastien
Hi Raymond,

Raymond Zeitler  writes:

> The agenda clockreport mode is very useful.  Is there a template that
> can be customized to add a column that shows each task's tags?  I
> couldn't find it in org-info.  I'm using version 9.1.2.

yes, good idea -- this is now in master and this will be in Org 9.2.

The old :tags options was used to create a tags matchers.

The todo/tags/properties matcher can now be set using :match (just
like in column views) and you can add tags by using ":tags t".

Best,

-- 
 Bastien



Re: [O] org-open-link-from-string truncates file path at spaces

2018-04-26 Thread Bastien
Hi Joon,

Joon Ro  writes:

> With current org version (Org mode version 9.1.8 (9.1.8-elpaplus @ c:
> /Users/joon/.emacs.d/elpa/org-plus-contrib-20171228/)), 
> org-open-link-from-string does not work with a path string if it
> includes a space. For example,
>
> (org-open-link-from-string "file:test test.hmtl")
>
> yields
>
> user-error: No such file: c:/Users/joon/test

Fixed in maint, thanks.

-- 
 Bastien



Re: [O] aligning images, html attributes ignored when exporting to html (longish, sorry)

2018-04-26 Thread Bastien
Hi Andreas and Nicolas,

Nicolas Goaziou  writes:

>   #+ATTR_HTML: :style float:right;
>
> The tutorial is probably outdated.

FWIW I've update the tutorial on Worg, thanks for reporting this.

-- 
 Bastien



Re: [O] Please see attached debug-init

2018-04-26 Thread Bastien
Hi Charles,

Charles Millar  writes:

> Attached --debug-init when starting -

is this with emacs -Q?  If not, can you bisect your configuration?

Thanks,

-- 
 Bastien



Re: [O] Invalid links in Worg

2018-04-26 Thread Bastien
Hi Kaushal,

Kaushal Modi  writes:

> Using the W3C Invalid Link checker[1], I found the following invalid
> (404) links on Worg.

Those should be fixed, thanks!

-- 
 Bastien



Re: [O] Agenda: skip sub-item if parent is scheduled

2018-04-26 Thread Bastien
Hi Matthieu,

Matthieu Caneill  writes:

> In a custom `tags-todo` agenda view, I can't manage to skip sub-items
> if their parent is scheduled.
>
> If I have this:
>
> * TODO parent item
>   SCHEDULED: <2018-02-11>
> ** TODO child sub-item
>
> I don't want any item to appear in the `tags-todo` list.
>
> I have: `org-tags-match-list-sublevels nil`.
> If I set `org-agenda-skip-entry-if'scheduled 'deadline`, the child
> will appear in the list, and if I don't have it the parent will
> (expectedly) appear in the list.
>
> Any idea how to solve this?

Something like this:

(defun my-skip-entries-below-scheduled-entry ()
  (when (save-excursion
  (org-up-heading-safe)
  (org-get-scheduled-time (point)))
(org-end-of-subtree t t)))

(setq org-agenda-skip-function-global
  #'my-skip-entries-below-scheduled-entry)

Don't use `org-agenda-skip-function-global' though, use
`org-agenda-skip-function' within `org-agenda-custom-commands'.

HTH,

-- 
 Bastien



Re: [O] Documentation references to htmlize and htmlize vs. htmlfontify

2018-04-26 Thread Bastien
Kaushal Modi  writes:

> +1 to transition to htmlfontify. Copying Rasmus for comments on
> efforts needed to update ox-html to use htmlfontify..

+1!

-- 
 Bastien



Re: [O] Bug: org-collector evaluates headlines starting with hyperlink as lisp code

2018-04-26 Thread Bastien
Hi Martin,

Martin Kampas  writes:

> With headlines like
>
> * [[http://example.com]] Example
>
> org-collector writes just "http://example.com; in the table, omitting the 
> rest of the headline.
>
> Patch below.

Applied in maint, thanks!

-- 
 Bastien



Re: [O] Ical to org, in Go lang.

2018-04-26 Thread Bastien
Hi Robert,

this looks nice.  Would you advertize this somewhere on Worg?

(Yes, Worg is quite a chaotic place, don't hesitate to clean it
up if you see meaningful ways to do so.)

Thanks,

-- 
 Bastien



Re: [O] Org alerts on osx

2018-04-26 Thread Bastien
Hi Cody,

Cody Goodman  writes:

> I tried using org alerts on osx but kept running into dbus errors. So
> I'm curious, does anyone have org alerts working on osx? Preferably
> something free I can install on work and home computers.

Can you give more details on what you tried and what did not work?

FWIW https://orgmode.org/manual/Feedback.html guides you into sharing
your feedback.

Best,

-- 
 Bastien



Re: [O] Bug: ordered property blocks grandchildren [9.1.3 (9.1.3-elpaplus @ ~/.emacs.d/elpa/org-plus-contrib-20171116/)]

2018-04-26 Thread Bastien
Hi Allen Li,

thanks for reporting this.  I think both behavior are good
defaults, I tried to enhance the documentation a little bit.

If you see another way to enhance the documentation or the
message sent by org-mode, can you suggest it?

Thanks!

-- 
 Bastien



Re: [O] org-mime-htmlize transforms ' into ? in gmail_quote

2018-04-26 Thread Bastien
Hi Joseph,

org-mime is not living in Org's repository anymore, I suggest to
report issues on org-mime's repository, that's where other users
will report it I guess:

https://github.com/org-mime/org-mime

Best,

-- 
 Bastien



Re: [O] fr: next-error for agenda

2018-04-26 Thread Bastien
Hi Samuel,

Samuel Wales  writes:

> i'd like next-error to operate on agenda matches.  if any are marked,
> then those.
>
> then you can edit the outline without returning to the agenda.

I don't understand what you are trying to achieve here.

Please feel free to explain it a bit more if you still think the FR is
worth it.

Thanks,

-- 
 Bastien



Re: [O] Org mode bug submission and viewing?

2018-04-26 Thread Bastien
Dear all,

reflecting upon Allen's question and Kaushal's answer, I would like
to suggest this rule on how to submit bug reports:

  Use M-x org-submit-bug-report RET if you installed Org yourself,
  use M-x report-emacs-bug RET otherwise.

This way, Org maintainers who check Emacs bugs are likely to quickly
spot if the bug from an old Org version has been fixed already, and
users are less likely to share already-fixed bugs on emacs-orgmode.

WDYT?

-- 
 Bastien



Re: [O] Custom agenda with tags-todo and shorthand todo specification ignored if hypen present in TODO state

2018-04-26 Thread Bastien
Hi Adrian,

Adrian Bradd  writes:

> (tags-todo "@work/IN-PROGRESS"

Yes, this is a bug: the "-" character is special in this syntax,
so TODO keywords containing "-" characters are not compatible with
the old syntax.

The new syntax is preferred.

Best,

-- 
 Bastien



Re: [O] [PATCH] Fix git-annex-get call in org-attach

2018-04-26 Thread Bastien
Hi Matt,

Matt Lundin  writes:

> I've attached a patch that fixes a minor issue in org-attach related to
> git annex. Basically, it ensures that a shell command is called from
> within the git-annex repository (i.e., the org-attach-directory).
> Otherwise, the command results in an error because it is called in the
> incorrect directory.

applied in maint, thanks!

-- 
 Bastien



Re: [O] Need help on write new link type for link URI.

2018-04-26 Thread Bastien
Hi,

stardiviner  writes:

> How to get the correct link here?

Please be more explicit on what your are trying to achieve, why you
think your solution is correct, what does not work in your solution
and what you did to try to make it work.  This will boost the odds
of getting an answer.

HTH,

-- 
 Bastien



Re: [O] Bug: 'M-x org-tags-view c-g' not exit gracefully [9.1.9 (release_9.1.9-574-g348552 @ /Users/xcy/src/org-mode/lisp/)]

2018-04-26 Thread Bastien
Hi Xu Chunyang,

Xu Chunyang  writes:

> After 'M-x org-tags-view c-g', there is a empty buffer named *Org Agenda*
> left, which is unwanted to me.

Fixed in maint, thanks.

-- 
 Bastien



Re: [O] Bulk re-scheduling in agenda view

2018-04-26 Thread Bastien
Hi Michael,

Michael Hoffman  writes:

> I am bulk re-scheduling items in an agenda view. I would like all the
> selected items to be re-scheduled to a year later from their current
> scheduled date. The org manual
>  seems to indicate
> this is possible using double plus:
>
>> Schedule all items to a new date. To shift existing schedule dates by
>> a fixed number of days, use something starting with double plus at the
>> prompt, for example ‘++8d’ or ‘++2w’.
>
> When I try this, however, I always get re-scheduling from the current
> date.

I cannot reproduce this -- beware that the prompt shows the date as
if it was with only one "+"... but the bulk rescheduling effectively
reschedule entries by adding the number of days to *each* of them.

Can you try with latest Org and report any problem?

Thanks!

-- 
 Bastien



Re: [O] Changing Modes and Headline Closing

2018-04-26 Thread Bastien
Hi 42 147,

42 147  writes:

> Is there a way to switch back to org-mode via M-x org-mode while
> preserving the state of the open / closed headlines?

I added this FAQ to Worg:

  * Is my question already a Frequently Asked Questions ?
  
  You can find the answer by asking on the mailing list, but people will
  probably direct you here, so it is safer to start by checking this FAQ.

You can check

  Can I save/restore the visibility state of an org-mode buffer?

in this FAQ.

HTH,

-- 
 Bastien



Re: [O] Bug: agenda text search with buffer restriction fails [9.1.5 (9.1.5-1-gb3ddb0-elpaplus @ /home/ionasal/.emacs.d/elpa/org-plus-contrib-20171225/)]

2018-04-26 Thread Bastien
Hi Allen,

Allen Li  writes:

>> https://code.orgmode.org/bzg/org-mode/commit/b9b921716ba1d2a564bb9443427dfb21bb609e05
>> https://code.orgmode.org/bzg/org-mode/commit/da83e7d583895976a2398becbb995bcce1f729be
>
> Oops, done.  Attached new patch.

applied in maint, thanks and sorry for the delay!

-- 
 Bastien



[O] Please see attached debug-init

2018-04-26 Thread Charles Millar

Attached --debug-init when starting -

Debian Stretch

GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 
2017-09-12 on hullmann, modified by Debian


Org mode version 9.1.11 (release_9.1.11-632-g60483f @ 
/usr/local/share/org-mode/lisp/)


However, it does not when starting emacs 27.0.50, same OS and org version

Charlie Millar



debu-error
Description: Binary data


Re: [O] how to use org-crypt with different key per file or node?

2018-04-26 Thread Marco Wahl
Gregor Zattler  writes:

> Dear org-mode users and developers,
>
> I use org-crypt for different org files.  Till now I follow the
> documentation and specify the one and only key to use via
> (setq org-crypt-key "0xdeadbeef") for all org files and their
> headings.
>
> Is it possible to specify different keys for different files or
> even better for different headings?
>
>
> Ciao; Gregor

AFAICT there is property CRYPTKEY for that.  Possibly this has been
forgotten in the info documentation for org.

Example:

* totally secret :crypt:
:PROPERTIES:
:CRYPTKEY: 0x0123456789012345678901234567890123456789
:END:


HTH




[O] org-tag-faces only applies to :face:?

2018-04-26 Thread Boyan Penkov
Hello,

My intention is to change the color and background of certain
(urgent-important, noturgent-important) items in the agenda.  To this
end, I have set up appropriate tags in org-tag-alist and have played
with org-tag-faces.

However, when I -- for example --

(setq org-tag-faces
  '(
("home" . (:background "GoldenRod"))
)
  )

only the tag's face (the bit between the two colons...) changes to
GoldenRod.  I'd like the entire line to change to GoldenRod.  What's
the best way to do this?

Cheers!

-- 
Boyan Penkov



[O] how to use org-crypt with different key per file or node?

2018-04-26 Thread Gregor Zattler
Dear org-mode users and developers,

I use org-crypt for different org files.  Till now I follow the
documentation and specify the one and only key to use via
(setq org-crypt-key "0xdeadbeef") for all org files and their
headings.

Is it possible to specify different keys for different files or
even better for different headings?


Ciao; Gregor
-- 
 -... --- .-. . -.. ..--.. ...-.-




Re: [O] Release Org 9.2 soon ?

2018-04-26 Thread Bastien
Hi Nicolas and all,

Bastien  writes:

> I'm back from a few days off, I'll be able to make the 9.2 release
> at the end of next week.  I've released 9.1.10 in the meantime.

I'm now reading past emails and checking things for 9.2.

Maybe we will need to release 9.1.12 before 9.2, as there are some
new bugfixes in maint.

-- 
 Bastien



Re: [O] Multiple tags on a heading?

2018-04-26 Thread Alain . Cochard

 > I do not understand. Is there still an issue?

No, for me there is no issue (apart somewhere in my own config).

Sorry for not not having been clear enough.

-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | alain.coch...@unistra.fr
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France| Fax:   +33 (0)3 68 85 01 25 



Re: [O] Release Org 9.2 soon ?

2018-04-26 Thread Bastien
Hi Rasmus,

Rasmus  writes:

> What is the best way to make a CHANGELOG from 9.1.9 to 9.1.11?  Should I
> just copy the git log?

Yes, I guess so.

-- 
 Bastien



Re: [O] Multiple tags on a heading?

2018-04-26 Thread Nicolas Goaziou
Hello,

alain.coch...@unistra.fr writes:

> Actually, if I use a void .emacs file and just the command 'emacs' to
> run emacs -- which also uses the same 9.1.9 elpa version --, then
> everything works as I would expect:
>
> 'C-c c-c' or 'C-c C-q' on the headline enters the minibuffer, then
>  shows all possible tags; once one tag is entered (completion
> works), giving, say,
>
>   Tags: :meetings:
>
> then another  shows all tags again, and so on.
>
> Another 'C-c c-c' or 'C-c C-q' on the headline enters again the
> minibuffer, showing all the already entered tags.  And so on.

I do not understand. Is there still an issue? If so, could you show your
tag related configuration?

Regards,

-- 
Nicolas Goaziou



Re: [O] Multiple tags on a heading?

2018-04-26 Thread Alain . Cochard
Nicolas Goaziou writes on Thu 26 Apr 2018 02:47:
 > Hello,
 > 
 > alain.coch...@unistra.fr writes:
 > 
 > > William Denton writes on Wed 25 Apr 2018 09:59:
 > >
 > >  > To set a tag for a heading one uses C-C C-q (or C-c C-c if one is
 > >  > on the heading).  The minibuffer shows you a listing of all the
 > >  > tags, and refines it as you type.  That works very well.
 > >  > 
 > >  > What about if one wants to have two tags?  Is there a similar way
 > >  > to add the second tag?  I have to type it in by hand---am I
 > >  > overlooking something?
 > >
 > > I have the same problem using org version 9.1.9.  However, with 'emacs
 > > -Q' (version 8.2.10), I can enter in a natural way several tags with a
 > > single 'C-c C-q'.  Bug?
 > 
 > I think this is now fixed on master. Could you confirm it?

Actually, if I use a void .emacs file and just the command 'emacs' to
run emacs -- which also uses the same 9.1.9 elpa version --, then
everything works as I would expect:

'C-c c-c' or 'C-c C-q' on the headline enters the minibuffer, then
 shows all possible tags; once one tag is entered (completion
works), giving, say,

  Tags: :meetings:

then another  shows all tags again, and so on.

Another 'C-c c-c' or 'C-c C-q' on the headline enters again the
minibuffer, showing all the already entered tags.  And so on.




-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | alain.coch...@unistra.fr
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France| Fax:   +33 (0)3 68 85 01 25 



Re: [O] [PATCH] Add support for Babel with Eshell, (updated PATCH)

2018-04-26 Thread stardiviner

Nicolas Goaziou  writes:

> I'm not convinced this is less work to edit, but I changed it anyway. It
> makes it easier to follow alphabetical order. I also wrapped
> identifiers within verbatim markup.
>

You're right, still not improved a lot. Anyway, thanks. And I updated
patch inclued in attachment.

From bea5c4454ee53307578f4c6e10e2b8e06f9bb70b Mon Sep 17 00:00:00 2001
From: stardiviner 
Date: Sun, 22 Apr 2018 09:37:40 +0800
Subject: [PATCH] ob-eshell.el: Add Eshell support for Babel.

* lisp/ob-eshell.el (org-babel-execute:eshell): Execute Eshell code in Babel.
(org-babel-prep-session:eshell):
(ob-eshell-session-live-p):
(org-babel-eshell-initiate-session):
(org-babel-variable-assignments:eshell):
(org-babel-load-session:eshell):

* testing/test-ob-eshell.el: Write test for ob-eshell.

* doc/org-manual.org (Languages): Add Babel language eshell identity.
---
 doc/org-manual.org |  27 +
 lisp/ob-eshell.el  | 105 +
 testing/lisp/test-ob-eshell.el |  73 +++
 3 files changed, 192 insertions(+), 13 deletions(-)
 create mode 100644 lisp/ob-eshell.el
 create mode 100644 testing/lisp/test-ob-eshell.el

diff --git a/doc/org-manual.org b/doc/org-manual.org
index bdef9f61b..de62d15d2 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -17573,8 +17573,8 @@ code block header arguments:
 
 Code blocks in the following languages are supported.
 
-| Language   | Identifier   | Language   | Identifier   |
-|+--++--|
+| Language   | Identifier | Language   | Identifier |
+|+++|
 | Asymptote  | =asymptote=  | Lua| =lua=|
 | Awk| =awk=| MATLAB | =matlab= |
 | C  | =C=  | Mscgen | =mscgen= |
@@ -17585,17 +17585,18 @@ Code blocks in the following languages are supported.
 | ditaa  | =ditaa=  | Perl   | =perl=   |
 | Emacs Calc | =calc=   | Plantuml   | =plantuml=   |
 | Emacs Lisp | =emacs-lisp= | Processing.js  | =processing= |
-| Fortran| =fortran=| Python | =python= |
-| Gnuplot| =gnuplot=| R  | =R=  |
-| GNU Screen | =screen= | Ruby   | =ruby=   |
-| Graphviz   | =dot=| Sass   | =sass=   |
-| Haskell| =haskell=| Scheme | =scheme= |
-| Java   | =java=   | Sed| =sed=|
-| Javascript | =js= | shell  | =sh= |
-| LaTeX  | =latex=  | SQL| =sql=|
-| Ledger | =ledger= | SQLite | =sqlite= |
-| Lilypond   | =lilypond=   | Vala   | =vala=   |
-| Lisp   | =lisp=   ||  |
+| Eshell | =eshell= | Python | =python= |
+| Fortran| =fortran=| R  | =R=  |
+| Gnuplot| =gnuplot=| Ruby   | =ruby=   |
+| GNU Screen | =screen= | Sass   | =sass=   |
+| Graphviz   | =dot=| Scheme | =scheme= |
+| Haskell| =haskell=| Sed| =sed=|
+| Java   | =java=   | shell  | =sh= |
+| Javascript | =js= | SQL| =sql=|
+| LaTeX  | =latex=  | SQLite | =sqlite= |
+| Ledger | =ledger= | Vala   | =vala=   |
+| Lilypond   | =lilypond=   |||
+| Lisp   | =lisp=   |||
 
 Additional documentation for some languages is at
 https://orgmode.org/worg/org-contrib/babel/languages.html.
diff --git a/lisp/ob-eshell.el b/lisp/ob-eshell.el
new file mode 100644
index 0..f1cd859a4
--- /dev/null
+++ b/lisp/ob-eshell.el
@@ -0,0 +1,105 @@
+;;; ob-eshell.el --- Babel Functions for Eshell-*- lexical-binding: t; -*-
+
+;; Copyright (C) 2009-2018 Free Software Foundation, Inc.
+
+;; Author: stardiviner 
+;; Keywords: literate programming, reproducible research
+;; Homepage: https://orgmode.org
+
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs.  If not, see .
+
+;;; Commentary:
+
+;; Org Babel support for evaluating Eshell source code.
+
+;;; Code:
+(require 'ob)

Re: [O] Multiple tags on a heading?

2018-04-26 Thread Nicolas Goaziou
William Denton  writes:

> It's different---and thanks for your quick work---but I'm still not
> sure if it's actually able to let me browse all of the available tags
> and let me add first one tag and then another.
>
> If I use C-c C-q then I get the menu of tags and can enter a few
> letters to get to the one I want, for example "meetings", but then if
> I hit C-c C-q again I get:
>
>   Tags: :meetings:_
>
> Then I have to remember the other tag I want to use and type it in
> from memory---there's no way to see and search the menu again.  Is
> there a way to search the menu of tags again?

I cannot reproduce this. Could you provide an ECM, i.e., including the
configuration you use for tags?




Re: [O] Bug: A typo in org-eww-copy-for-org-mode's docstring [9.1.11 (release_9.1.11-623-gbecbef @ /Users/xcy/src/org-mode/lisp/)]

2018-04-26 Thread Bastien
Hi Xu,

Xu Chunyang  writes:

> 'C-h f org-eww-copy-for-org-mode' has the following
>
> and insert the transformed test into the kill ring
>
> "test" should be "text".

Fixed, thanks!

-- 
 Bastien