GNU bug report logs - #14523
Inconsistency in font-lock/lisp mode for docstrings

Previous Next

Package: emacs;

Reported by: Max Rottenkolber <max <at> mr.gy>

Date: Fri, 31 May 2013 17:38:02 UTC

Severity: minor

Tags: moreinfo, notabug

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14523 in the body.
You can then email your comments to 14523 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#14523; Package emacs. (Fri, 31 May 2013 17:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Max Rottenkolber <max <at> mr.gy>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 31 May 2013 17:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Max Rottenkolber <max <at> mr.gy>
To: bug-gnu-emacs <at> gnu.org
Subject: Inconsistency in font-lock/lisp mode for docstrings
Date: Fri, 31 May 2013 19:33:43 +0200
Greetings everybody,

On "GNU Emacs 24.2.1 (i486-slackware-linux-gnu, GTK+ Version 2.24.10) of
2012-08-31 on hive" using font-lock-mode it conjunction with lisp mode
(and Common Lisp code): If font-lock-doc-face != font-lock-string-face
docstrings are marked up inconsistently. E.g. DEFUN's docstrings use the
first face, but DEVAR docstrings use the latter face.

Cheers,
max




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#14523; Package emacs. (Sat, 01 Jun 2013 00:16:02 GMT) Full text and rfc822 format available.

Message #8 received at 14523 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Max Rottenkolber <max <at> mr.gy>
Cc: 14523 <at> debbugs.gnu.org
Subject: Re: bug#14523: Inconsistency in font-lock/lisp mode for docstrings
Date: Fri, 31 May 2013 20:13:49 -0400
Max Rottenkolber wrote:

> On "GNU Emacs 24.2.1 (i486-slackware-linux-gnu, GTK+ Version 2.24.10) of
> 2012-08-31 on hive" using font-lock-mode it conjunction with lisp mode
> (and Common Lisp code): If font-lock-doc-face != font-lock-string-face
> docstrings are marked up inconsistently. E.g. DEFUN's docstrings use the
> first face, but DEVAR docstrings use the latter face.

Please give a complete example starting from emacs -Q.
I cannot reproduce this with:

emacs-24.2 -Q foo.el

where foo.el has contents:

(defun func () "function doc" t)
(defvar var "blah" "var doc")

Both doc-strings are in font-lock-doc-face.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#14523; Package emacs. (Sat, 01 Jun 2013 17:52:02 GMT) Full text and rfc822 format available.

Message #11 received at 14523 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Max Rottenkolber <max <at> mr.gy>, 14523 <at> debbugs.gnu.org
Subject: Re: bug#14523: Inconsistency in font-lock/lisp mode for docstrings
Date: Sat, 1 Jun 2013 13:49:40 -0400
Glenn Morris wrote (on Sat, 1 Jun 2013 at 13:44 -0400):

> Please keep the debbugs address cc'd.

Otherwise when the person you are replying to puts the bug number in
by hand, they might get the wrong one, like I did. Sigh.

Max Rottenkolber wrote (on Sat, 1 Jun 2013 at 10:22 +0200):

> M-x customize-face RET font-lock-doc-face RET
> 
> Find file foo .lisp, enter:
> 
> (defun ()
>   "redish"
>   13)

Surely this defun is missing a name?

> (defvar *x* nil
>   "whatever you set doc-face to.")




Added tag(s) notabug. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 12 Jun 2013 00:10:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 14523 <at> debbugs.gnu.org and Max Rottenkolber <max <at> mr.gy> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 12 Jun 2013 00:10:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 10 Jul 2013 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 340 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.