Your message dated Tue, 20 May 2014 13:05:03 -0700 (PDT) with message-id <[email protected]> and subject line Re: Bug#192684 has caused the Debian Bug report #192684, regarding emacs21 and c-comment-start-regexp to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 192684: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=192684 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: emacs20 Version: 20.7-13.1 I hope this isn't just a case of me doing something wrong, but after 8 hours of trying to trace elisp code, I can't seem to find anything else. I'm trying to extend the c-mode "fill-paragraph" functionality to understand a comment block using "//!" at the start (for Doxygen). As near as I can tell, my savior is: c-comment-start-regexp This buffer-local variable specifies how to recognize the start of a comment. I've changed this variable to: c-comment-start-regexp's value is "/[/*][!]?" Local in buffer dataio.c; global value is "/[/*]" Documentation: not documented as a variable. Defined in `cc-langs'. But when I do M-q, it behave the same as it did before I appended the "[!]?". Before: //! //! A "DataIo" object is an abstract input/output device. It allows other code //! to run without knowing any specifics about the underlying driver, thus //! providing the ability to write code much as one would use standard i/o //! paths under unix or dos. //! After: //! ! A "DataIo" object is an abstract input/output device. It allows other //code ! to run without knowing any specifics about the underlying driver, //thus ! providing the ability to write code much as one would use standard //i/o ! paths under unix or dos. ! Here's what I've learned (I think :-) by my attempts to debug elisp... In the function "c-fill-paragraph" (cc-cmds.el), the "c-comment-start-regexp" variable is not referenced until line #1645. However, the function doesn't seem to get down there as the original "if" on line #1594 appears to be true and the code block starting at line #1597 gets executed instead. Brian ( [email protected] ) ------------------------------------------------------------------------------- Diplomacy is the art of saying "nice doggy!"... until you can find a rock.
--- End Message ---
--- Begin Message ---Filling the example text works out of the box with Emacs 24.3 C mode, with no customization needed. If you need help customizing C mode, I suggest asking on the help-gnu-emacs mailing list.
--- End Message ---

