unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* c-special-indent-hook - when iis it run?
@ 2007-04-02  0:39 Lennart Borgman (gmail)
  2007-04-02 21:00 ` Alan Mackenzie
  2007-04-04 20:55 ` Alan Mackenzie
  0 siblings, 2 replies; 4+ messages in thread
From: Lennart Borgman (gmail) @ 2007-04-02  0:39 UTC (permalink / raw)
  To: Emacs Devel

It looks to me like `c-special-indent-hook' is only run in 
`c-indent-line' when `c-syntactic-indentation' is non-nil.

Is this intentional? Should not the doc string for the hook mention that?

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

* Re: c-special-indent-hook - when iis it run?
  2007-04-02  0:39 c-special-indent-hook - when iis it run? Lennart Borgman (gmail)
@ 2007-04-02 21:00 ` Alan Mackenzie
  2007-04-02 22:59   ` Lennart Borgman (gmail)
  2007-04-04 20:55 ` Alan Mackenzie
  1 sibling, 1 reply; 4+ messages in thread
From: Alan Mackenzie @ 2007-04-02 21:00 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: Emacs Devel

'Evening, Lennart!

On Mon, Apr 02, 2007 at 02:39:10AM +0200, Lennart Borgman (gmail) wrote:
> It looks to me like `c-special-indent-hook' is only run in 
> `c-indent-line' when `c-syntactic-indentation' is non-nil.

This is indeed the case.  The CC Mode manual states this on page "Other
Indentation". 

> Is this intentional? Should not the doc string for the hook mention
> that?

Yes, the doc string should mention this.  I'll fix it soon.

-- 
Alan Mackenzie (Munich, Germany).

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

* Re: c-special-indent-hook - when iis it run?
  2007-04-02 21:00 ` Alan Mackenzie
@ 2007-04-02 22:59   ` Lennart Borgman (gmail)
  0 siblings, 0 replies; 4+ messages in thread
From: Lennart Borgman (gmail) @ 2007-04-02 22:59 UTC (permalink / raw)
  To: Alan Mackenzie; +Cc: Emacs Devel

Alan Mackenzie wrote:

> Yes, the doc string should mention this.  I'll fix it soon.

Thanks Alan.

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

* Re: c-special-indent-hook - when iis it run?
  2007-04-02  0:39 c-special-indent-hook - when iis it run? Lennart Borgman (gmail)
  2007-04-02 21:00 ` Alan Mackenzie
@ 2007-04-04 20:55 ` Alan Mackenzie
  1 sibling, 0 replies; 4+ messages in thread
From: Alan Mackenzie @ 2007-04-04 20:55 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: Emacs Devel

'Evening, Lennart!

On Mon, Apr 02, 2007 at 02:39:10AM +0200, Lennart Borgman (gmail) wrote:
> It looks to me like `c-special-indent-hook' is only run in 
> `c-indent-line' when `c-syntactic-indentation' is non-nil.

> Is this intentional? Should not the doc string for the hook mention that?

Fixed.

-- 
Alan.

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

end of thread, other threads:[~2007-04-04 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-02  0:39 c-special-indent-hook - when iis it run? Lennart Borgman (gmail)
2007-04-02 21:00 ` Alan Mackenzie
2007-04-02 22:59   ` Lennart Borgman (gmail)
2007-04-04 20:55 ` Alan Mackenzie

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).