From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Using org-goto loses org-todo-keyword-faces settings Date: Wed, 25 Sep 2013 00:09:34 +0200 Message-ID: References: <5214090E.8030607@codefu.org> <19A10F41-C9F2-4137-8BCD-588B27E4E1A7@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: multipart/signed; boundary="Apple-Mail=_98B8D7D5-9703-4445-82D4-3D5E704E01F3"; protocol="application/pgp-signature"; micalg=pgp-sha1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOanh-0005cE-12 for emacs-orgmode@gnu.org; Tue, 24 Sep 2013 18:09:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VOanc-0004d7-Sx for emacs-orgmode@gnu.org; Tue, 24 Sep 2013 18:09:44 -0400 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:43300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VOanc-0004cr-GA for emacs-orgmode@gnu.org; Tue, 24 Sep 2013 18:09:40 -0400 Received: by mail-wg0-f42.google.com with SMTP id m15so4082081wgh.5 for ; Tue, 24 Sep 2013 15:09:39 -0700 (PDT) In-Reply-To: <19A10F41-C9F2-4137-8BCD-588B27E4E1A7@gmail.com> 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: Dale Cc: emacs-orgmode@gnu.org --Apple-Mail=_98B8D7D5-9703-4445-82D4-3D5E704E01F3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi Dale, I tried it again today, and I do not see the problem you are = describing. I am closing this bug report until others chime in with supporting = information. - carsten On 2.9.2013, at 07:42, Carsten Dominik = wrote: > Hi Dale, >=20 > thank you for the report and detailed example. I have followed your = recipe and cannot reproduce the issue. >=20 > Regards >=20 > - Carsten >=20 > On 21.8.2013, at 02:25, Dale wrote: >=20 >> Hi, >>=20 >> My thanks to everyone who works on org-mode. It is a truly = indispensable tool. >>=20 >> I'm not sure if I have a bug or a feature request: I have custom = faces set up for my todo keywords (see my file local variable for = org-todo-keyword-faces at the bottom of this report). When I use = org-goto (C-c C-j) and then exit goto mode, my custom colors for todo = keywords are reset to the defaults. >>=20 >> Explicitly: >>=20 >> 1. Create and save an org file with the following contents: >>=20 >> ------8<------Cut here------8<------ >> * WAITING test1 >>=20 >> #+TODO: NEW(n) PENDING(p!) WAITING(w!) HOLD(h!) | DONE(d!) = CANCELLED(c!) >>=20 >> # Local Variables: >> # org-todo-keyword-faces: (("WAITING" . "dark orange") >> # ("HOLD" . "dark orange")) >> # End: >> ------8<------Cut here------8<------ >>=20 >> 2. Revert the buffer to pick up the in-buffer configuration including = file local variables. >>=20 >> 3. C-c C-j followed by C-g to exit goto mode. >>=20 >> What I expected: WAITING would still be "dark orange" when I exit = goto mode. >>=20 >> What I observed: WAITING reverts to the default red color when I exit = goto mode. >>=20 >> (WAITING is also red while I'm in org-goto mode, which is less of a = problem for me. I'd be happy enough if the color was just restored when = I'm done with org-goto.) >>=20 >> I would, of course, be grateful if my org-todo-keyword-faces = would still be respected after using goto mode. >>=20 >> I am using Emacs 24.3.1, apparently, the unofficial Emacs Mac = Port (ftp://ftp.math.s.chiba-u.ac.jp/emacs/). I just confirmed this = behavior using org-mode's master branch from = git://orgmode.org/org-mode.git as of a few minutes ago. The output from = org-submit-bug-report is below. >>=20 >> Thanks for everything, >> Dale >>=20 >>=20 >> Emacs : GNU Emacs 24.3.1 (x86_64-apple-darwin12.4.0, Carbon Version = 1.6.0 AppKit 1187.39) >> of 2013-06-26 >> Package: Org-mode version 8.0.7 (release_8.0.7-383-g927f1b @ = /Users/dale/.emacs.d/packages/org-mode/) >>=20 >> current state: >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> (setq >> org-hide-leading-stars t >> org-tab-first-hook '(org-hide-block-toggle-maybe >> org-src-native-tab-command-maybe >> org-babel-hide-result-toggle-maybe >> org-babel-header-arg-expand) >> org-speed-command-hook '(org-speed-command-default-hook >> org-babel-speed-command-hook) >> org-reverse-note-order t >> org-time-clocksum-format "%d:%02d" >> org-occur-hook '(org-first-headline-recenter) >> org-metaup-hook '(org-babel-load-in-session-maybe) >> org-agenda-todo-ignore-deadlines 'far >> org-src-window-setup 'other-window >> org-confirm-shell-link-function 'yes-or-no-p >> org-agenda-todo-ignore-scheduled 1 >> org-default-notes-file "~/todo.org" >> org-startup-indented t >> org-after-todo-state-change-hook '(org-clock-out-if-current) >> org-src-mode-hook '(org-src-babel-configure-edit-buffer >> org-src-mode-configure-edit-buffer) >> org-tags-column -76 >> org-agenda-before-write-hook '(org-agenda-add-entry-text) >> org-babel-pre-tangle-hook '(save-buffer) >> org-agenda-dim-blocked-tasks nil >> org-mode-hook '(#[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-result-all append local] >> 5] >> org-babel-result-hide-spec org-babel-hide-all-hashes >> my:org-mode-hook) >> org-outline-path-complete-in-steps nil >> org-agenda-todo-list-sublevels nil >> org-replace-disputed-keys t >> org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point >> org-babel-execute-safely-maybe) >> org-refile-use-outline-path t >> org-enforce-todo-dependencies t >> org-cycle-hook '(org-cycle-hide-archived-subtrees = org-cycle-hide-drawers >> org-cycle-hide-inline-tasks = org-cycle-show-empty-lines >> org-optimize-window-after-visibility-change) >> org-after-refile-insert-hook '(my:org-maybe-note-refile) >> org-metareturn-hook '(my:org-meta-return-hook) >> org-confirm-elisp-link-function 'yes-or-no-p >> org-metadown-hook '(org-babel-pop-to-session-maybe) >> org-default-priority 68 >> org-blocker-hook = '(org-block-todo-from-children-or-siblings-or-parent) >> org-completion-use-ido t >> org-src-preserve-indentation t >> org-clock-in-hook '(my:org-clock-in-set-pending-hook) >> org-agenda-files '("~/todo.org") >> org-clock-out-hook '(org-clock-remove-empty-clock-drawer) >> ) >>=20 >> In-buffer configuration: >>=20 >> #+TODO: NEW(n) PENDING(p!) WAITING(w!) HOLD(h!) | DONE(d!) = CANCELLED(c!) >>=20 >> # Local Variables: >> # org-todo-keyword-faces: (("WAITING" . "dark orange") >> # ("HOLD" . "dark orange")) >> # End: >>=20 >=20 --Apple-Mail=_98B8D7D5-9703-4445-82D4-3D5E704E01F3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJSQg2eAAoJEO+gg/nAZuwM/6oH/jS34FKmeS6TmMQ/qsoZUKmg xpj00pbyieqfAAzHIAWMqstSw6DkZgw5Ye/sLslSLAvJwrb7KeuyOQfuFpo99LPp K4HieSkLCGv7zKlY9j1KkhJQf0yuC6ilQTWjqsydyeXg73QFkKL3Oi3syYkki+qk eGeV82eV10CTH9vhihf+t9atQo9EA+RklsGKIUo762MGpo5fzCSn2cNbykPvtGbR Daf9jAHQ4M5l6kArOgMZgRzXbLmaEGJhF62nJlD4amKpmWZFvq17vfIgxKskhAdS ZBI+UlqGk21YeEGuk7+mwV4HI6lUIx+u8uMpDWWgj5UgXWIthCATnkCHvztkuB4= =7HXo -----END PGP SIGNATURE----- --Apple-Mail=_98B8D7D5-9703-4445-82D4-3D5E704E01F3--