emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Reuben Thomas <rrt@sc3d.org>
To: Reuben Thomas <rrt@sc3d.org>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Bug: It's not obvious how to keep LocalWords (spelling exceptions) conveniently [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)]
Date: Tue, 30 Jun 2015 17:57:49 +0100	[thread overview]
Message-ID: <CAOnWdoi9QP36GC9Ys3fQPwPwT1W-xYt4Ahaom+-OxH6WaHJjOQ@mail.gmail.com> (raw)
In-Reply-To: <87si99iak3.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 1450 bytes --]

On 30 June 2015 at 14:35, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

> Hello,
>

​Hi, and thanks for your help with this.​


> Disclaimer: I don't know what are "LocalWords" and I could find
> a reference either in the Emacs or Elisp manual.
>

I'm sorry, I assumed it would be documented. By "LocalWords" it turns out
that I mean "the value of ispell-words-keyword".

Put them at the beginning of the file, i.e., before the first headline,
> and comment them.
>

​This is a distracting place to put them, and requires action on the part
of the user: ispell's non-configurable behaviour is to look for
ispell-words-keyword, and, if it doesn't find it, start adding words at the
end of the buffer. Hence it would be better if org-mode could work like
other modes.

The current behaviour, where org-insert-heading-respect-content skips not
only blank lines but also comments, does seem a bit odd in any case: I'd
expect the next heading to be inserted before any comments following point…


> > However, it would be good if this worked out of the box, i.e. if if
> > org-mode instrumented ispell suitably so that when LocalWords entries
> > are added, they are a) by default not included in the export,
>
> It will not happen if you comment them.
>

Sorry, I was mixing up the LocalWords entries, which are automatically
commented by ispell, and my heading. Ignore this!

-- 
http://rrt.sc3d.org

[-- Attachment #2: Type: text/html, Size: 2717 bytes --]

      parent reply	other threads:[~2015-06-30 16:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-30 10:02 Bug: It's not obvious how to keep LocalWords (spelling exceptions) conveniently [8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/)] Reuben Thomas
2015-06-30 13:35 ` Nicolas Goaziou
2015-06-30 14:08   ` Daniele Pizzolli
2015-06-30 16:57   ` Reuben Thomas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOnWdoi9QP36GC9Ys3fQPwPwT1W-xYt4Ahaom+-OxH6WaHJjOQ@mail.gmail.com \
    --to=rrt@sc3d.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).