GNU bug report logs - #2224
[PATCH] add-log.el: Modularize add-log-current-defun, new types supported

Previous Next

Package: emacs;

Reported by: Jari Aalto <jari.aalto <at> cante.net>

Date: Fri, 6 Feb 2009 17:50:03 UTC

Severity: wishlist

Tags: patch

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: 2224 <at> debbugs.gnu.org, Jari Aalto <jari.aalto <at> cante.net>
Subject: Re: bug#2224: [PATCH] add-log.el: Modularize add-log-current-defun,
	new types supported
Date: Thu, 12 Apr 2012 20:19:56 +0200
Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:

> Think about it: why should add-log support be different than say,
> font-lock, outline, imenu, younameit?  Oh and BTW, this same function
> can/should be used for which-func-mode.

---
Which Function mode is a global minor mode.  When enabled, the
current function name is continuously displayed in the mode line,
in certain major modes.
---

Didn't know about that one.  Seems useful, especially if you're hacking
on stuff that uses looong functions.  (I've been doing some minor hacks
on mplayer, and it has, if I recall correctly, a few functions that are
in the 1500 line region...)

Anyway, that obviously makes sense.  :-)

> Of course in js.el it shouldn't be called
> `add-log-current-defun-type-javascript' but `js--current-defun-name' or
> something like that.

--?  Isn't that for internal functions?  These would be used by the
other packages...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 12 years and 234 days ago.

Previous Next


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