GNU bug report logs - #1353
c-put-char-property-fun alias problem

Previous Next

Packages: emacs, cc-mode;

Reported by: "Juanma Barranquero" <lekktu <at> gmail.com>

Date: Sat, 15 Nov 2008 19:25:04 UTC

Severity: normal

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 1353 in the body.
You can then email your comments to 1353 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-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1351; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: <emacs-pretest-bug <at> gnu.org>
Subject: 23.0.60; Provide doc strings for functions in replace.el
Date: Sat, 15 Nov 2008 11:20:04 -0800
Please provide a doc string for these functions. At the very least,
provide a comment for each explaining what it does and what its
arguments are.
 
query-replace-descr
query-replace-read-args
occur-mode-find-occurrence
occur-find-match
occur-accumulate-lines
occur-read-primary-args
occur-1
occur-engine-add-prefix
occur-engine
occur-context-lines (has a comment)
replace-eval-replacement
replace-loop-through-replacements (has a comment)
replace-highlight
replace-dehighlight
 

Likewise, for these variables:
 
query-replace-history
replace-overlay
 
 
 
In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600)
 of 2008-11-08 on LENNART-69DE564
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/g/include
-fno-crossjumping'
 





Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1351; Package emacs. Full text and rfc822 format available.

Message #8 received at 1351 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 1351 <at> debbugs.gnu.org
Subject: Re: bug#1351: 23.0.60; Provide doc strings for functions in replace.el
Date: Sat, 15 Nov 2008 17:58:27 -0500
Drew Adams wrote (on Sat, 15 Nov 2008 at 11:20 -0800):

> Please provide a doc string for these functions. At the very least,
> provide a comment for each explaining what it does and what its
> arguments are.

In other words, a doc string.

> query-replace-descr

Yes, many functions in Emacs unfortunately lack doc strings. It is not
very difficult to find them. Let me save you the trouble of opening
bugs for them all:

(let (undocumented)
  (mapatoms (lambda (s)
              (and (fboundp s)
                   (not (documentation s))
                   (push s undocumented))))
  undocumented))

Would you like to write some?




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1351; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Juanma Barranquero" <lekktu <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #13 received at 1351 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Juanma Barranquero" <lekktu <at> gmail.com>
To: "Glenn Morris" <rgm <at> gnu.org>
Cc: 1351 <at> debbugs.gnu.org
Subject: Re: bug#1351: 23.0.60; Provide doc strings for functions in replace.el
Date: Sun, 16 Nov 2008 00:27:08 +0100
On Sat, Nov 15, 2008 at 23:58, Glenn Morris <rgm <at> gnu.org> wrote:

> (let (undocumented)
>  (mapatoms (lambda (s)
>              (and (fboundp s)
>                   (not (documentation s))
>                   (push s undocumented))))
>  undocumented))

Had you tried it (removing the last ")"), you would've caught an unrelated bug:

 => *** Eval error ***  Symbol's function definition is void:
c-put-char-property-fun

In cc-defs.el, `c-put-char-property-fun' is aliased to the output of
an expression that is nil on current Emacs.

C-h f c-put-char-property-fun <ENTER>

c-put-char-property-fun is an alias for `nil',
which is not defined.  Please make a bug report.

  Juanma




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1351; Package emacs. Full text and rfc822 format available.

Message #16 received at 1351 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: "Juanma Barranquero" <lekktu <at> gmail.com>
Cc: 1351 <at> debbugs.gnu.org
Subject: Re: bug#1351: 23.0.60; Provide doc strings for functions in replace.el
Date: Sat, 15 Nov 2008 18:43:53 -0500
clone 1351 -1
retitle -1 c-put-char-property-fun alias problem
reassign -1 emacs,cc-mode
stop

"Juanma Barranquero" wrote:

> Had you tried it (removing the last ")"), you would've caught an
> unrelated bug:

ITYM "when you tried it, if you happened to have cc-defs loaded".

Similarly, had I tried it in emacs -Q, I would have seen a similar
problem with advertised-widget-backward.




bug 1351 cloned as bug 1353. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 15 Nov 2008 23:50:04 GMT) Full text and rfc822 format available.

Changed bug title to `c-put-char-property-fun alias problem' from `23.0.60; Provide doc strings for functions in replace.el'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 15 Nov 2008 23:50:04 GMT) Full text and rfc822 format available.

bug reassigned from package `emacs' to `emacs,cc-mode'. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 15 Nov 2008 23:50:04 GMT) Full text and rfc822 format available.

Changed bug submitter from "Drew Adams" <drew.adams <at> oracle.com> to "Juanma Barranquero" <lekktu <at> gmail.com>. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sun, 16 Nov 2008 23:45:03 GMT) Full text and rfc822 format available.

Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Juanma Barranquero" <lekktu <at> gmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #29 received at 1353-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 1353-done <at> debbugs.gnu.org
Subject: Re: Bug#1353: c-put-char-property-fun alias problem
Date: Mon, 17 Nov 2008 03:43:30 -0500
2008-11-17  Glenn Morris  <rgm <at> gnu.org>

  * progmodes/cc-defs.el (c-put-char-property-fun): Add
  fallback definition of 'ignore, rather than nil.  (Bug#1353)




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Mon, 15 Dec 2008 15:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 195 days ago.

Previous Next


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