From mboxrd@z Thu Jan 1 00:00:00 1970 From: Reuben Thomas Subject: 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 11:02:03 +0100 Message-ID: <87y4j1346c.fsf@sc3d.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9sMo-0003n6-6W for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 06:02:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9sMh-0001r9-UI for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 06:02:14 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:33620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9sMh-0001r1-Fz for emacs-orgmode@gnu.org; Tue, 30 Jun 2015 06:02:07 -0400 Received: by wiwl6 with SMTP id l6so126343265wiw.0 for ; Tue, 30 Jun 2015 03:02:05 -0700 (PDT) Received: from skwd ([2.223.57.126]) by mx.google.com with ESMTPSA id um5sm67947130wjc.1.2015.06.30.03.02.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 30 Jun 2015 03:02:04 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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-mode mailing list. ------------------------------------------------------------------------ I use flyspell/ispell, and add words to my org files=E2=80=99 LocalWords stanzas. I keep these at the bottom of my document (as is typical for other file types), but I don=E2=80=99t insist on that if there=E2=80=99s a = better way. The problem is that when I press Ctrl+Return near the bottom of the buffer, just above the LocalWords stanza, point skips past the commented LocalWords and makes a new entry underneath. I searched to see if I could find a standard way to do this. I couldn=E2=80= =99t: I found an example document in worg which puts the LocalWords stanza elsewhere in the document, with its own heading. For now, I have added a heading just before the spelling list, and tagged it :noexport:. 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, and b) by default in their own suitable document node (I leave the language vague on purpose: I=E2=80=99d imagine a top-level node, but maybe that=E2=80=99s = not optimal.) Emacs : GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.8) of 2014-11-21 on skwd, modified by Debian Package: Org-mode version 8.2.10 (release_8.2.10 @ /usr/share/emacs/24.4/lisp/org/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-export-backends '(ascii html icalendar latex odt) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-comman= d-maybe org-babel-hide-result-toggle-maybe org-babel-header-a= rg-expand) org-latex-classes '(("article" "\\documentclass[11pt]{article}" ("\\sectio= n{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsub= section{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparag= raph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}= " . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}"= . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsub= section{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . = "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}"= . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsub= section{%s}" . "\\subsubsection*{%s}")) ("scrartcl" "\\documentclass{scrartcl}" ("\\section{%s= }" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsub= section{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparag= raph{%s}" . "\\subparagraph*{%s}")) ) org-latex-default-packages-alist '(("postscript" "ucs" nil) ("" "pifont" n= il) ("utf8x" "inputenc" t) ("T1" "fontenc" t) ("" "fixltx2e" nil) = ("" "graphicx" t) ("" "longtable" nil) ("" "float" nil) ("" "wrapfig" nil) (""= "rotating" nil) ("normalem" "ulem" t) ("" "amsmath" t) ("" "textcomp" t) ("" = "marvosym" t) ("" "wasysym" t) ("" "amssymb" t) ("" "hyperref" nil) "\= \tolerance=3D1000" ("" "palatino" nil)) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-co= mmand-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-html-format-drawer-function '(lambda (name contents) contents) org-latex-format-inlinetask-function 'ignore org-confirm-shell-link-function 'yes-or-no-p org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-export-with-section-numbers nil org-file-apps '((t . "xdg-open %s") (system . "xdg-open %s")) org-export-with-toc nil org-latex-format-headline-function 'org-latex-format-headline-default-func= tion org-default-notes-file "~/Notes/Notes.org" org-startup-indented t org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-odt-format-headline-function 'ignore org-from-is-user-regexp "\\" org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-confi= gure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '((lambda nil (local-set-key "\351" (quote org-toggle-iimage= -in-org))) window-margin-mode #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all = append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-resu= lt-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes turn-= on-eldoc-mode) org-ascii-format-drawer-function '(lambda (name contents width) contents) org-odt-format-inlinetask-function 'ignore org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-= maybe) org-directory "~/Notes" org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers o= rg-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visi= bility-change) org-footnote-define-inline t org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-odt-format-drawer-function '(lambda (name contents) contents) org-latex-default-class "scrartcl" org-html-format-headline-function 'ignore org-footnote-auto-label nil org-html-format-inlinetask-function 'ignore org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-latex-inputenc-alist '(("utf8" . "utf8x")) ) --=20 http://rrt.sc3d.org/