GNU bug report logs - #3217
23.0.92; apropos profile

Previous Next

Package: emacs;

Reported by: Andreas Roehler <andreas.roehler <at> online.de>

Date: Tue, 5 May 2009 06:35:03 UTC

Severity: wishlist

Tags: wontfix

Merged with 3220

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

Bug is archived. No further changes may be made.

Full log


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

From: Andreas Roehler <andreas.roehler <at> online.de>
To: emacs-pretest-bug <at> gnu.org
Cc: Barry Warsaw <barry <at> python.org>
Subject: 23.0.92; apropos profile
Date: Tue, 05 May 2009 08:28:43 +0200
[Message part 1 (text/plain, inline)]
Hi Barry,

M-x apropos RET profile

didn't show `elp-instrument-function' and related tools.

Thats probably, because non of them has the name "profile" in it.
Suggest an alias as delivered with patch.

Thanks

Andreas Röhler



In GNU Emacs 23.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0)
 of 2009-04-29 on noname
Windowing system distributor `The X.Org Foundation', version 11.0.70200000
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x a p r o p o s <return> p r o f i l e <return> M-x
r e p o r t - e m a c s - b u g <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
No apropos matches for `profile'
[elp-el.diff (text/x-patch, inline)]
diff -u -b -L /usr/local/share/emacs/23.0.92/lisp/emacs-lisp/elp.el.gz -L MY-PATH/elp.el 
--- /usr/local/share/emacs/23.0.92/lisp/emacs-lisp/elp.el.gz
+++ MY-PATH/elp.el
@@ -228,6 +228,7 @@
                   (error nil))))))
 
 
+(defalias 'elp-profile-function 'elp-instrument-function)
 ;;;###autoload
 (defun elp-instrument-function (funsym)
   "Instrument FUNSYM for profiling.

Diff finished.  Tue May  5 08:14:39 2009

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

Previous Next


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