emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* M-left/right, also customization
@ 2006-12-28 23:00 Wes Nakamura
  2006-12-29  7:35 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Wes Nakamura @ 2006-12-28 23:00 UTC (permalink / raw)
  To: emacs-orgmode


I'm also seeing the problem where using M-left/right on an empty
headline is removing the trailing space.  Is this still being worked on?
I still see it in 4.60.

Is there an org-agenda hook or another way to change settings so they
only affect the agenda view?  I'd like to use variable-width fonts in
the org file, but use fixed-width fonts in the agenda view, so things
align properly.  I figured the easiest way to do that was to set
buffer-local faces when the agenda view is brought up via a hook.

I'm using local variables to set org-time-stamp-custom-formats, and it
seems that at times the custom format is used, but other times they're
not.  I'm having a hard time tracking down exactly when it works and
when it doesn't.  Is it possible that this doesn't work when set in
local variables (I found a couple of other ones that also didn't work)?

Wes

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: M-left/right, also customization
  2006-12-28 23:00 M-left/right, also customization Wes Nakamura
@ 2006-12-29  7:35 ` Carsten Dominik
  0 siblings, 0 replies; 2+ messages in thread
From: Carsten Dominik @ 2006-12-29  7:35 UTC (permalink / raw)
  To: Wes Nakamura; +Cc: emacs-orgmode

On Dec 29, 2006, at 0:00, Wes Nakamura wrote:

>
> I'm also seeing the problem where using M-left/right on an empty
> headline is removing the trailing space.  Is this still being worked 
> on?
> I still see it in 4.60.

Yes, I think I have finally fixed this now, for 4.61.

>
> Is there an org-agenda hook or another way to change settings so they
> only affect the agenda view?  I'd like to use variable-width fonts in
> the org file, but use fixed-width fonts in the agenda view, so things
> align properly.  I figured the easiest way to do that was to set
> buffer-local faces when the agenda view is brought up via a hook.

org-agenda-mode-hook is run when the buffer is created.
org-finalize-agenda-hook is run just before it is displayed.

>
> I'm using local variables to set org-time-stamp-custom-formats, and it
> seems that at times the custom format is used, but other times they're
> not.  I'm having a hard time tracking down exactly when it works and
> when it doesn't.  Is it possible that this doesn't work when set in
> local variables (I found a couple of other ones that also didn't work)?

Local variables should work for displaying custom time formats.  I think
they will not work currently for exported files like HTML.

If you change these on the fly, it may be necessary to turn 
font-lock-mode
off and back on.

- Carsten

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-29  7:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-28 23:00 M-left/right, also customization Wes Nakamura
2006-12-29  7:35 ` Carsten Dominik

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).