Re: [O] function for inserting a block

2017-10-17 Thread Eric Abrahamsen
Nicolas Goaziou writes: [...] > Then it's `forward-line', not `forward-char', because there could be > trailing spaces at the end of the paragraph, e.g. > >This is a paragraph. Okay, changed to `forward-line'. > Also, my question still holds, what about the last paragraph in a buffer > no

Re: [O] function for inserting a block

2017-10-17 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Eric Abrahamsen writes: > >> I'm still not quite seeing this. This chunk should take care of it: >> >> (goto-char e) >> (if (bolp) >> (progn >>(skip-chars-backward " \n\t") >>

Re: [O] function for inserting a block

2017-10-17 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Nicolas Goaziou writes: > >> Eric Abrahamsen writes: >> >>> I'm still not quite seeing this. This chunk should take care of it: >>> >>> (goto-char e) >>> (if (bolp) >>> (progn >>>

Re: [O] function for inserting a block

2017-10-18 Thread Eric Abrahamsen
Carsten Dominik writes: > Dear all, > > this is great added functionality that I have missed a lot myself. Thanks > for this! Also, I like the key binding. I do too, though I also notice it conflicts with inlinetask insertion. > One improvement I can think of it to read the block type with c

Re: [O] function for inserting a block

2017-10-20 Thread Eric Abrahamsen
Carsten Dominik writes: > Hi Eric, > > On Wed, Oct 18, 2017 at 4:58 PM, Eric Abrahamsen > wrote: > > Carsten Dominik writes: > > > Dear all, > > > > this is great added functionality that I have missed a lot myself. Thanks > for this! Also, I l

Re: [O] function for inserting a block

2017-10-20 Thread Eric Abrahamsen
Kaushal Modi writes: > On Fri, Oct 20, 2017 at 2:07 PM Eric Abrahamsen > wrote: > > Okay, here's another version, with a new keybinding and completion. The > completion strings are uppercase, which might not always be the right > thing, but probably more often than

Re: [O] function for inserting a block

2017-10-20 Thread Eric Abrahamsen
Kaushal Modi writes: > Also, if the type is "src", shouldn't the point end up after "#+BEGIN_SRC"? > Because the user will anyways need to type something there. My original version did that. It might be nice to still do that selectively if the user adds a SRC or EXPORT block. > Finally, I am t

Re: [O] function for inserting a block

2017-10-21 Thread Eric Abrahamsen
Kaushal Modi writes: > On Fri, Oct 20, 2017 at 5:15 PM Eric Abrahamsen > wrote: > > The template really only inserts the block type, not anything specific > like the source language or export backend. > > Right, but based on the code you have, you can easily add "SR

Re: [O] function for inserting a block

2017-10-22 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Kaushal Modi writes: > >>> I just tried it out, and it works great! >>> >>> I have a comment about >>> >>> (when (string-equal (downcase type) "example"

Re: [O] function for inserting a block

2017-10-23 Thread Eric Abrahamsen
Kaushal Modi writes: > On Fri, Oct 20, 2017, 5:43 PM Kaushal Modi wrote: [...] > @Eric: I believe you were sort of onboard with this suggestion, just gated by > a doubt if this actually can make into master. In principle yes, I agree it's odd to have two completely different systems for ess

Re: [O] function for inserting a block

2017-10-23 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Kaushal Modi writes: >> >>> On Fri, Oct 20, 2017, 5:43 PM Kaushal Modi wrote: >> >> [...] >> >>> @Eric: I believe you were sort of onboard with this suggestion, just

Re: [O] function for inserting a block

2017-10-23 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Nicolas Goaziou writes: > >> Hello, >> >> Eric Abrahamsen writes: >> >>> Kaushal Modi writes: >>> >>>> On Fri, Oct 20, 2017, 5:43 PM Kaushal Modi wrote: >>> >>> [...] >>> >

Re: [O] function for inserting a block

2017-10-28 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> In that case, would you be more in favor of a keymap-plus-subkey system, >> or a keymap-plus-prompt system? > > I have no strong opinion, but a keymap-plus-subkey system (subkeys > matching curren

Re: [O] function for inserting a block

2017-10-30 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> This will get there eventually! Because there's likely to be more >> tweaking, I haven't touched the manual or the tests yet, just reworked >> the option and function: > > Thank you

[O] Get rid of message-mode code?

2017-10-30 Thread Eric Abrahamsen
Now that orgstruct-mode is gone, can't we get rid of all the checks for message-mode when filling, etc? diff --git a/lisp/org.el b/lisp/org.el index 9ad06ac3b..ed338ad80 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -22316,68 +22316,58 @@ assumed to be significant there." Return fill prefix, as a

Re: [O] function for inserting a block

2017-10-30 Thread Eric Abrahamsen
Sorry, last patch had some documentation errors. >From 055af9e9545947b9aeccc3370c8b67a237eea5d8 Mon Sep 17 00:00:00 2001 From: Eric Abrahamsen Date: Mon, 30 Oct 2017 10:55:29 -0700 Subject: [PATCH] Replace easy templates with org-insert-structure-template * lisp/org.el (org-insert-struct

Re: [O] Get rid of message-mode code?

2017-10-31 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> Now that orgstruct-mode is gone, > > Technically Orgstruct mode is not gone yet. I didn't have time to remove > it yet. I have a local branch for that, though. Oh! I thought it had already been done. Ignore me, then...

Re: [O] function for inserting a block

2017-11-05 Thread Eric Abrahamsen
On 11/05/17 10:06 AM, Nicolas Goaziou wrote: > Hello, > > Eric Abrahamsen writes: > >> From 055af9e9545947b9aeccc3370c8b67a237eea5d8 Mon Sep 17 00:00:00 2001 >> From: Eric Abrahamsen >> Date: Mon, 30 Oct 2017 10:55:29 -0700 >> Subject: [PATCH] Replace easy

Re: [O] function for inserting a block

2017-11-08 Thread Eric Abrahamsen
Bastien Guerry writes: > Hi Nicolas, > > Nicolas Goaziou writes: > >> Bastien writes: >> >>> is there a simple mechanism in Emacs core to restore the same >>> functionnality? >> >> Of course, it is called Abbrev mode: (info "(emacs)Abbrev >> Concepts"). > > Abbrev only expands on words constitu

Re: [O] function for inserting a block

2017-11-08 Thread Eric Abrahamsen
Perhaps what we can do is re-instate this functionality using the built-in Emacs mechanisms?

Re: [O] function for inserting a block

2017-11-09 Thread Eric Abrahamsen
Rasmus writes: > Rasmus writes: > >> Nicolas Goaziou writes: >> >>> Takaaki Ishikawa writes: >>> I also support the idea of keeping ">>> Please give importance to the backward compatibility in this case. >>> >>> I explained why I thought it could be removed. I also suggested >>> solutions

Re: [O] function for inserting a block

2017-11-10 Thread Eric Abrahamsen
Rasmus writes: > Hi Eric, > > Eric Abrahamsen writes: > >>> Also, Eric, it seems that org-structure-template-alist only supports a >>> single letter for short-hands (the car of an entry in >>> org-structure-template-alist is a char). I used to have bl

Re: [O] The new function org-insert-structure-template is not following option org-babel-capitalize-example-region-markers

2017-11-10 Thread Eric Abrahamsen
"numbch...@gmail.com" writes: > RT. > Hope Org-mode can fix this issue. It looks like that option has been obsoleted by `org-babel-uppercase-example-markers'. I added that in and it compiled and tested fine, so I guess it's available. I can make that part of the next patch.

Re: [O] Bug: Org-mode easy templates stopped working after org-mode update [9.1.2 (release_9.1.2-190-g9cac9d @ /home/renato/.emacs.d/el-get/org-mode/lisp/)]

2017-11-14 Thread Eric Abrahamsen
Renato Candido writes: > Remember to cover the basics, that is, what you expected to happen and > what in fact did happen. You don't know how to make a good report? See > > http://orgmode.org/manual/Feedback.html#Feedback > > Your bug report will be posted to the Org mailing list. > --

Re: [O] function for inserting a block

2017-11-14 Thread Eric Abrahamsen
"Thomas S. Dye" writes: > Eric Abrahamsen writes: > >> Rasmus writes: >> >>> Hi Eric, >>> >>> Eric Abrahamsen writes: >>> >>>>> Also, Eric, it seems that org-structure-template-alist only supports a >>>>

Re: [O] function for inserting a block

2017-11-15 Thread Eric Abrahamsen
"numbch...@gmail.com" writes: > I think the function `org-insert-structure-template' also should respect the > `org-babel-uppercase-example-markers'. > Besides, your new diff does not have a condition on > `org-babel-uppercase-example-markers', you just use `upcase-initials` by > default. Then

[O] missing requires for Gnus macros in org-gnus?

2017-11-16 Thread Eric Abrahamsen
I thought I should flag up this bug report here: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=29329 The basic problem being, org-gnus.el uses a bunch of Gnus macros, but doesn't require the relevant Gnus libraries when compiling. BUT! No error is raised when compiling Org using "make", so there

Re: [O] function for inserting a block

2017-11-17 Thread Eric Abrahamsen
"numbch...@gmail.com" writes: > Yeah, I misunderstand your code. Anyway, It should be like this: > > #+BEGIN_SRC python > ... > #+END_SRC > > #+BEGIN_EXAMPLE > ... > #+END_EXAMPLE > > etc If you look back up this (admittedly very long) thread, you'll see the general consensus is to move to lower

Re: [O] Summary for user: function for inserting a block

2017-11-19 Thread Eric Abrahamsen
AW writes: > Hi! > > I updated to orgmode 9.1.3 and tried to find out about this new feature. > > In vain. C-c C-x w is undefined. > > Can someone give a short abstract about the new function for inserting a > block? The change is in master now, I don't think it will be available until 9.2 is

Re: [O] function for inserting a block

2017-11-20 Thread Eric Abrahamsen
Rasmus writes: > Hi Eric, > > >> It incorporates Rasmus' org-tempo.el file, with modifications, and >> Thomas' suggestion to re-instate `org-try-structure-completion', and, >> erm, stardiviner's request to honor >> `org-babel-uppercase-example-markers'. >> >> Remaining issues: >> >> 1. The "org-i

Re: [O] "Reference Dump" rant

2017-11-21 Thread Eric Abrahamsen
"Thomas S. Dye" writes: > Lawrence Bottorff writes: > >>> > I guess I'm saying it would be nice to have a big omnibus O'Reilly-style >>> > tutorial on how to use org-mode. I've hung with org-mode because I think >>> > it's great and, IMHO, should become a standard tool in all >>> > STEM/STEM-educ

Re: [O] [patch] structure snippet completions

2017-12-04 Thread Eric Abrahamsen
Rasmus writes: > Hi, > > The attached patch adds expansions of " would like to include this in the next version of Org in anticipation of > the changes to the template system. Cool! We were talking about shifting the alist keys to strings, do we want to do that all at once, in both places, or le

Re: [O] [patch] structure snippet completions

2017-12-05 Thread Eric Abrahamsen
Rasmus writes: > Eric Abrahamsen writes: > >> Rasmus writes: >> >>> Hi, >>> >>> The attached patch adds expansions of ">> would like to include this in the next version of Org in anticipation of >>> the changes to the template

[O] Poll: new keybinding for org-insert-structure-template?

2017-12-09 Thread Eric Abrahamsen
Hello all, Rasmus' org-tempo patch has landed, and it's time to make a few adjustments to org-insert-structure-template: I think we're moving to string keys in the template alist, rather than character keys, and also some people noted that the keybinding "C-c C-x w" is too close to "C-c C-x C-w",

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-10 Thread Eric Abrahamsen
Rasmus writes: > Eric Abrahamsen writes: > >> Hello all, >> >> Rasmus' org-tempo patch has landed, and it's time to make a few >> adjustments to org-insert-structure-template: I think we're moving to >> string keys in the template alist, rather

Re: [O] Key binding popup interface

2017-12-12 Thread Eric Abrahamsen
Kaushal Modi writes: > Copying this on both Emacs devel and Org mode list. Hopefully this discussion > is eligible for that. > > Problem statement: Need to have a pretty interface that shows the available > valid key bindings. > > We have something custom developed for Org export interface. M

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-12 Thread Eric Abrahamsen
Rasmus writes: > Nicolas Goaziou writes: > >> Hello, >> >> Rasmus writes: >> >>> Nicolas, are there any public interfaces to make ox export like >>> interfaces? >> >> No, there isn't. However, Org provides `org-mks'. > > Good point. It isn’t quite as nice as the export dispatcher. Let’s wait

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-14 Thread Eric Abrahamsen
Rasmus writes: > Eric Abrahamsen writes: > >> Rasmus writes: >> >>> Nicolas Goaziou writes: >>> >>>> Hello, >>>> >>>> Rasmus writes: >>>> >>>>> Nicolas, are there any public interfaces

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-15 Thread Eric Abrahamsen
Rasmus writes: > Kaushal Modi writes: > >> On Fri, Dec 15, 2017 at 6:23 AM Rasmus wrote: >> >>> The only way it’s "bad" is in the sense it limits the flexibility of >>> snippets, like ">> I can no longer have "> May be have " > I wouldn’t really like that. > >> I missed this in the original con

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

2017-12-17 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > The task started by Thomas S. Dye a couple years ago is now complete. > The "manual.org" file in "contrib/" directory is an up-to-date, > sometimes enhanced, version of the Org manual. Org can now eat its own > dog food. Very cool! I look forward to learning

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-18 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Rasmus writes: > >> Kaushal Modi writes: >> >>> On Fri, Dec 15, 2017 at 6:23 AM Rasmus wrote: >>> >>>> The only way it’s "bad" is in the sense it limits the flexibility of >>>> snippets, like &qu

Re: [O] Restore old easy template feature (Re: function for inserting a block)

2017-12-18 Thread Eric Abrahamsen
Matt Price writes: > On Wed, Nov 8, 2017 at 9:08 AM, Bastien Guerry wrote: > > Hi Kaushal, > > Kaushal Modi writes: > > > I am suggesting to have a minor mode that simply binds "<" to do the > > template insertion (only when that is typed at BOL with optional > > leading whitespace, or if

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-20 Thread Eric Abrahamsen
Rasmus writes: > Eric Abrahamsen writes: > >> Eric Abrahamsen writes: >> >>> Rasmus writes: >>> >>>> Kaushal Modi writes: >>>> >>>>> On Fri, Dec 15, 2017 at 6:23 AM Rasmus wrote: >>>>> >>

Re: [O] Poll: new keybinding for org-insert-structure-template?

2017-12-20 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Rasmus writes: > >> Eric Abrahamsen writes: >> >>> Eric Abrahamsen writes: >>> >>>> Rasmus writes: >>>> >>>>> Kaushal Modi writes: >>>>> >>>>>> On Fri,

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

2018-01-01 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric S Fraga writes: > >> Not sure what kind of ECM you would like? I simply type in a line like >> this: >> >> 2. this is an item that has a lot of text, text that will eventually >> auto fill onto next line. > > I see. Here comes the 2018 release. Works

[O] Paragraph consisting only of number and full stop disappears in export

2018-03-04 Thread Eric Abrahamsen
Hi, I just discovered that a paragraph disappeared from a subtree I was exporting, I guess because the paragraph consists of just a number followed by a full stop, and was interpreted as a list item. I'm translating subtitles, and the dialogue went: #+begin_src org There are no taxis, but I've go

Re: [O] Paragraph consisting only of number and full stop disappears in export

2018-03-04 Thread Eric Abrahamsen
Samuel Wales writes: > verse block? Maybe, except that puts it into monospaced font, and I'd have to wrap the whole document in a verse block... > On 3/4/18, Eric Abrahamsen wrote: >> Hi, >> >> I just discovered that a paragraph disappeared from a subtree I was

Re: [O] Paragraph consisting only of number and full stop disappears in export

2018-03-05 Thread Eric Abrahamsen
Samuel Wales writes: > i thought that was example that monospaced it. Oops, you're right. But it still feels hacky.

Re: [O] Paragraph consisting only of number and full stop disappears in export

2018-03-05 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Hi, > > I just discovered that a paragraph disappeared from a subtree I was > exporting, I guess because the paragraph consists of just a number > followed by a full stop, and was interpreted as a list item. I'm > translating subtitles, and the

Re: [O] Adding an item to the agenda from the agenda view

2018-03-06 Thread Eric Abrahamsen
Shérab writes: > Dear all, [...] > When I want to schedule a dinner with John, what I currently do is: > > 1. C-c a a > > 2. Look for a date > > 3. (say I find that April 1st isalright) > > 4. quit the agenda view > > 5. Visit the buffer corresponding to ~/gtd/agenda.org > > 6. Go to the end of

Re: [O] Inverting the chronology of LOGBOOK entries

2018-04-05 Thread Eric Abrahamsen
"Mitchell Roe" writes: > Hello, > > I have a few different things going into my LOGBOOKs (i.e. TODO state > changes, notes from ~org-add-note~, and =CLOCK= entries from > ~org-clock-in~ and ~org-clock-out~). > > These entries are /prepended/ to the LOGBOOK, which results in a > /descending/ chron

[O] How to set org-make-link-description-function

2018-04-12 Thread Eric Abrahamsen
I've coded Org link support for EBDB, a contact management package, where the :complete key looks like: (lambda () (format "ebdb:uuid/%s" (ebdb-record-uuid (ebdb-prompt-for-record (ebdb-records) Which prompts for a record based on the contact name, then inse

Re: [O] How to set org-make-link-description-function

2018-04-12 Thread Eric Abrahamsen
John Kitchin writes: > I don't know how to do that either. It does seem like you can set it > globally. You can try something > like: > > #+BEGIN_SRC emacs-lisp > (setq org-make-link-description-function > (lambda (link desc) > (cond > ((s-starts-with? "ebdb:uuid/" link) > (replace-regex

Re: [O] How to set org-make-link-description-function

2018-04-13 Thread Eric Abrahamsen
John Kitchin writes: > Not with the way I wrote it. It should only affect your links and pass > everything else through I > think. I just meant, you can only have one of these functions set. So if I provide special behavior for ebdb links, no other function would be able to do the equivalent fo

Re: [O] How to set org-make-link-description-function

2018-04-13 Thread Eric Abrahamsen
John Kitchin writes: > Here is a globally defined version that would let you define a function for > any other kind of link I think. There are probably many > variations on this theme, like storing functions in some variable as an > alist, etc. Something like that is what would happen if this w

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

2018-04-23 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Carsten Dominik writes: > >> I would be interested to discuss a better solution. It would be nice is >> list items could be TODO's, but I though long and har about this back when, >> and over allo those years, I could not think of anything that could be >> i

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

2018-04-24 Thread Eric Abrahamsen
Kaushal Modi writes: > On Mon, Apr 23, 2018, 5:35 PM Eric Abrahamsen > wrote: > > Would there be any consideration for an inline syntax that looks > more > like a link? Personally, when I want inline TODOs, I want them > because > there's a pa

Re: [O] add blocks to org-structure-template-alist

2018-04-27 Thread Eric Abrahamsen
Bastien writes: > Hi Nicolas, > > Nicolas Goaziou writes: > >> In master branch, the format has changed. > > With the new template mechanism, can we have rich templates like the > one Charles quotes? > > (add-to-list 'org-structure-template-alist '("r" "#+begin_src rec :data? > :type \n#+end_

[O] Orgalist notes

2018-05-03 Thread Eric Abrahamsen
I'm very pleased that orgalist has become its own package! However I'm seeing a few of the same bugs that made the previous orgstruct-mode frustrating, though I'm hoping they will be easier to fix now. There's one right there! Spurious indentation of everything after the first line

Re: [O] Orgalist notes

2018-05-03 Thread Eric Abrahamsen
Eric Abrahamsen writes: > I'm very pleased that orgalist has become its own package! However I'm > seeing a few of the same bugs that made the previous orgstruct-mode > frustrating, though I'm hoping they will be easier to fix now. > > There's one r

Re: [O] Orgalist notes

2018-05-03 Thread Eric Abrahamsen
Eric S Fraga writes: > On Thursday, 3 May 2018 at 16:21, Eric Abrahamsen wrote: >> I'm very pleased that orgalist has become its own package! However I'm >> seeing a few of the same bugs that made the previous orgstruct-mode >> frustrating, though I'

Re: [O] Orgalist notes

2018-05-04 Thread Eric Abrahamsen
Eric S Fraga writes: > On Thursday, 3 May 2018 at 23:45, Eric Abrahamsen wrote: > > [...] > >> Huh! I tried the exact same typing as you've done above, and the third >> item wraps into a fourth item. I expect it will be some interaction >> with ot

Re: [O] Orgalist notes

2018-05-05 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Gregor Zattler writes: > >> Hi Eric, orgalist users, >> * Eric Abrahamsen [2018-05-03; 23:45]: >>> Huh! I tried the exact same typing as you've done above, and the third >>> item wraps into a fo

Re: [O] Orgalist notes

2018-05-06 Thread Eric Abrahamsen
On 05/06/18 10:34 AM, Bernt Hansen wrote: > Eric Abrahamsen writes: > >> And, as always, thank you! This is fairly heroic work -- I say that >> after having made an attempt at orgstruct-mode, and run away screaming. >> And look, no funny indentation! >> >>

[O] customizable org-attach commands?

2018-06-13 Thread Eric Abrahamsen
I'd like to provide a patch making the org-attach dispatcher customizable. ie a new custom option `org-attach-commands' that maps characters to functions, and then the dispatch function builds its menu from that option. Would that be acceptable? What I'm trying to do is add my own org-attach funct

Re: [O] Documentation in ePub Format

2018-09-11 Thread Eric Abrahamsen
Dilyan Palauzov writes: > Hello Eric, > > with https://github.com/jlhg/texinfo2epub I did > > PATH/texinfo2epub/texinfo2epub.sh org-9.114/doc/org.texi org-9.1.14.epub > > The result – https://mail.aegee.org/dpa/org-9.1.14.epub – seems good. Looks like this is something pandoc can handle as well

Re: [O] Documentation in ePub Format

2018-09-12 Thread Eric Abrahamsen
Colin Baxter writes: > There must be something here I don't understand. If you want epub why not > just go from org-manual.org directly to epub using > https://github.com/ofosos/ox-epub? Why do we need to go via texi? Good point!

Re: [O] [PATCH] Add org-attach-download command

2018-09-13 Thread Eric Abrahamsen
Adam Porter writes: > Hi, > > This patch adds a new org-attach-download command, which downloads > remote files with url.el and attaches them with org-attach. When called > without a prefix, it first looks at point for a link, and prompts the > user for a URL if none is found. When called with

[O] orgalist list item spacing

2018-09-14 Thread Eric Abrahamsen
I'm a happy user of orgalist, it's very nice to be able to have basic Org structures in email. One thing I noticed is that if a paragraph line wraps so that the last line has a number followed by a full stop, orgalist treats that as a list item. It seems to me that text should not be considered a

Re: [O] orgalist list item spacing

2018-09-15 Thread Eric Abrahamsen
Eric S Fraga writes: > On Friday, 14 Sep 2018 at 14:47, Eric Abrahamsen wrote: >> One thing I noticed is that if a paragraph line wraps so that the last >> line has a number followed by a full stop, orgalist treats that as a >> list item. It seems to me that text should not

Re: [O] orgalist list item spacing

2018-09-15 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric S Fraga writes: > >> On Friday, 14 Sep 2018 at 14:47, Eric Abrahamsen wrote: >>> One thing I noticed is that if a paragraph line wraps so that the last >>> line has a number followed by a full stop, orgalist treats

Re: [O] orgalist list item spacing

2018-09-17 Thread Eric Abrahamsen
Eric S Fraga writes: > On Saturday, 15 Sep 2018 at 11:03, Eric Abrahamsen wrote: >> Eric S Fraga writes: >>> Long standing "feature" of org. Unless you do require a blank line >>> between items, it is impossible to differentiate between the start of a >

Re: org-table-blank-field key binding removal

2021-10-13 Thread Eric Abrahamsen
Kyle Meyer writes: > Michael Brand writes: > >> The change is not announced in ORG-NEWS. I think it should be in Version 9.4. > > Right, I agree this change should have come with a NEWS entry, though > 0c4e844c8 (Remove default binding for org-table-blank-field, 2021-04-28) > is from the 9.5 rele

Re: How do you manage complex project with Org-mode

2022-02-28 Thread Eric Abrahamsen
Sébastien Gendre writes: > Hello, > > I don't know if it's the correct place to ask it. If not, sorry to ask in > the wrong place. > > How do you manage complex project with Org-mode ? > > I used Org-mode for several periods of time in recent years. It worked > very well for short and day to day

Re: How do you manage complex project with Org-mode

2022-03-02 Thread Eric Abrahamsen
Sébastien Gendre writes: > Hello Eric, > > Thanks for your reply and advice. > > I will look at custom agenda view and clocking. But I have bad memory of > clocking tools because of the way previous jobs used it (It was not > Emacs). It's a much more positive experience when you're using it to i

Bug in orgalist mode's advice on indent-according-to-mode

2022-04-27 Thread Eric Abrahamsen
In Emacs commit f596f0db82c0b1ff3fe8e8f1d8b07d2fe7504ab6, from Nov 2021, the function `indent-according-to-mode' was given an optional inhibit-widen argument. That argument being passed causes orgalist's advice to fail, as the lambda doesn't accept any additional arguments. One way to fix it would

Re: Bug in orgalist mode's advice on indent-according-to-mode

2022-04-28 Thread Eric Abrahamsen
Tim Cross writes: > Eric Abrahamsen writes: > >> In Emacs commit f596f0db82c0b1ff3fe8e8f1d8b07d2fe7504ab6, from Nov 2021, >> the function `indent-according-to-mode' was given an optional >> inhibit-widen argument. That argument being passed causes orgalist'

Re: Bug in orgalist mode's advice on indent-according-to-mode

2022-05-09 Thread Eric Abrahamsen
Eric Abrahamsen writes: > Tim Cross writes: > >> Eric Abrahamsen writes: >> >>> In Emacs commit f596f0db82c0b1ff3fe8e8f1d8b07d2fe7504ab6, from Nov 2021, >>> the function `indent-according-to-mode' was given an optional >>> inhibit-widen argu

Re: yhetil.org/orgmode now supports searching by Gmane ID

2020-04-22 Thread Eric Abrahamsen
Kyle Meyer writes: > In the Git and mailing list history, we've got lots of references like > . Those Gmane > http links aren't so useful now, though you can still use that > information to access the message by doing things such as > > $

Re: yhetil.org/orgmode now supports searching by Gmane ID

2020-04-22 Thread Eric Abrahamsen
Kyle Meyer writes: > Eric Abrahamsen writes: > >> Kyle Meyer writes: > > [...] > >>> $ w3m -m nntp://news.gmane.io/gmane.emacs.orgmode/112052 >>> >>> (Offhand I don't know how to do the same in Gnus, despite it being my >>> prim

Re: get the body of a heading up to the next subheading

2020-05-13 Thread Eric Abrahamsen
John Kitchin writes: > Thanks! Here is what I am currently using: > > (defun canvas-org-get-heading-body () > "Return the body of the current heading up to the next heading." > (interactive) > (save-excursion > (unless (org-at-heading-p) > (org-previous-visible-heading 1)) > (

Re: issue tracker?

2020-05-19 Thread Eric Abrahamsen
"James R Miller" writes: > So, I definitely agree that using Github / Gitlab does expose you to > tracking messes and that is something to shun. I figured a self-hosted > Gogs instance (which is already being hosted at > https://code.orgmode.org/bzg/org-mode) would fix the "tracking" issue. > > I

Re: issue tracker?

2020-05-19 Thread Eric Abrahamsen
Roland Everaert writes: > Sourcehut seams interesting. Did you know if importing github/gitlab > projects, with issues and merge requests (opened and closed) is supported > at the moment? I did a bit of googling, and couldn't find anything, no. The developer is very responsive, though, and might

Re: issue tracker?

2020-05-21 Thread Eric Abrahamsen
Kévin Le Gouguec writes: > Nicolas Goaziou writes: > >> - As pointed out, Org has a bug tracker : Emacs' Debbugs. See >> . Org users do not send bugs >> through it much. > > (In the event that they do, should whoever follows bug-gnu-emacs refer > these use

Re: issue tracker?

2020-05-27 Thread Eric Abrahamsen
Russell Adams writes: > On Wed, May 27, 2020 at 12:59:24PM -0500, Mario Frasca wrote: >> myself, I recently posted a patch, received zero reaction, and have the >> impression it's now lost in the logs of this mailing list.  indeed >> pretty inefficient! > > Or the devs haven't had a chance yet. >

Re: Contact data and sync revisited

2020-05-31 Thread Eric Abrahamsen
Russell Adams writes: > I've been trying to find the best way to manage my contacts. I've dabbled with > org-contact and using an Org file with property drawers, I've dabbled with > BBDB. I've looked at standalone programs. > > My key problem is I need a way to access my contacts in Emacs and Mut

Export to attach directory?

2020-06-02 Thread Eric Abrahamsen
I think the last thing I'm missing before my Org set up is Absolutely Perfect and never needs to be tweaked again (ha!) is the ability to export Org files/subtrees to their relevant ATTACH directories, if any. It might be overkill to have a global setting for this, but I would love to be able to sa

Re: New mailing list archive at https://orgmode/list/

2020-06-05 Thread Eric Abrahamsen
Bastien writes: > Dear all, > > with Kyle's help, I've set up a new mailing list archive: > > https://orgmode/list/ > > References in https://orgmode.org and https://orgmode.org/list > that pointed to gmane.org are now using this, so many links are > functional again. Cool! I note that there's a

Re: New mailing list archive at https://orgmode/list/

2020-06-07 Thread Eric Abrahamsen
Kyle Meyer writes: > [ +cc Eric Wong, mostly to say thanks for all the work he puts into > public-inbox, which is the software behind these archives, but also so > that he can correct me if I misrepresent any capabilities of or plans > for public-inbox ] Thanks for this response, Kyle (and

Re: New mailing list archive at https://orgmode/list/

2020-06-12 Thread Eric Abrahamsen
Eric Wong writes: > Eric Abrahamsen wrote: >> Kyle Meyer writes: >> >> > [ +cc Eric Wong, mostly to say thanks for all the work he puts into >> > public-inbox, which is the software behind these archives, but also so >> > that he can correct m

[PATCH] Re: Export to attach directory?

2020-06-12 Thread Eric Abrahamsen
Eric Abrahamsen writes: > I think the last thing I'm missing before my Org set up is Absolutely > Perfect and never needs to be tweaked again (ha!) is the ability to > export Org files/subtrees to their relevant ATTACH directories, if any. > It might be overkill to have a global

Re: New mailing list archive at https://orgmode/list/

2020-06-18 Thread Eric Abrahamsen
Kyle Meyer writes: > [ adding Eric Wong back to the cc ] > > Eric Abrahamsen writes: > >> Eric Wong writes: >>> Fwiw, I've been trying to avoid exposing NNTP article numbers in >>> the HTTP endpoint in favor of Message-IDs because serial numbers >>

Re: New mailing list archive at https://orgmode/list/

2020-06-18 Thread Eric Abrahamsen
Kyle Meyer writes: > Eric Abrahamsen writes: > >> Kyle Meyer writes: >> >>> (setq gnus-select-method '(nnimap "news.yhetil.org" >>> ;; no certs yet >>> (nnimap-stream

Re: New mailing list archive at https://orgmode/list/

2020-06-19 Thread Eric Abrahamsen
Eric Wong writes: > Kyle Meyer wrote: >> Eric Abrahamsen writes: >> >> > Hey, that works great! It's a bit weird that it still asks for a >> > username and password, I wonder if there's any way to skip that. I've >> > never dea

Re: [PATCH] org-eldoc: Fix compatibility with Emacs 28

2020-07-17 Thread Eric Abrahamsen
"Basil L. Contovounesios" writes: > Kyle Meyer writes: > >> All right, thanks. Here's that in patch form. I briefly tested with >> Emacs 26, 27, and 28, and things seemed to work fine (though I'm not an >> org-eldoc user). > > I'm not either, but it seems to get pulled in automatically when >

Re: File local setting for export directory?

2020-08-03 Thread Eric Abrahamsen
"Loris Bennett" writes: > Hi, > > I want to export an org file to a pdf and have the pdf created in > subdirectory relative to the org file. > > What's the simplest way to set the export directory in a file local way? I suggested the attached diff a while ago, but no one seemed very interested.

Re: File local setting for export directory?

2020-08-04 Thread Eric Abrahamsen
Loris Bennett writes: > Hi Eric, > > Eric Abrahamsen writes: > >> "Loris Bennett" writes: >> >>> Hi, >>> >>> I want to export an org file to a pdf and have the pdf created in >>> subdirectory relative to the org file. >&

Re: [feature request] A new cookie type [!] showing the last note taken

2020-08-30 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Ihor Radchenko writes: > >> I feel that my understand of "note" in context of org is different from >> yours. Is there a formal definition of "note" in org? > > As I stated in my first post a few hours ago: > >Notes are mostly free-form; there is no syntax describin

Putting the value of page-delimiter in some outline regexps?

2020-09-01 Thread Eric Abrahamsen
Hi all, I've been trying to find a way to cordon off the bottom of my Org files, to create an area for file-local variables and "LocalWords" and what have you that Org doesn't consider part of the file's final heading. The usual Emacs thing to do seems to be using the value of page-delimiter to d

Re: Putting the value of page-delimiter in some outline regexps?

2020-09-03 Thread Eric Abrahamsen
Nicolas Goaziou writes: > Hello, > > Eric Abrahamsen writes: > >> I've been trying to find a way to cordon off the bottom of my Org files, >> to create an area for file-local variables and "LocalWords" and what >> have you that Org doesn't co

<    5   6   7   8   9   10   11   >