all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* little fix for `maxima-mode' and `inferior-maxima-mode'
@ 2006-10-08  1:02 Andrea Russo
  0 siblings, 0 replies; only message in thread
From: Andrea Russo @ 2006-10-08  1:02 UTC (permalink / raw)


Hi,

Here is a patch that makes `maxima-mode' and `inferior-maxima-mode' help
commands work for functions and variables with numbers in the name.

With this, commands like `info-lookup-symbol' spots maxima functions
in the info manual named like `plot2d' or `resolvante_klein3'.

Regards,
Andrea.

--- orig/lisp/info-look.el
+++ mod/lisp/info-look.el
@@ -843,12 +843,13 @@
 (info-lookup-maybe-add-help
  :mode 'maxima-mode
  :ignore-case t
- :regexp "[a-zA-Z_%]+"
+ :regexp "[a-zA-Z0-9_%]+"
  :doc-spec '( ("(maxima)Function and Variable Index" nil
 	       "^ -+ [^:]+:[ ]+\\(\\[[^=]*=[ ]+\\)?" nil)))
 
 (info-lookup-maybe-add-help
  :mode 'inferior-maxima-mode
+ :regexp "[a-zA-Z0-9_%]+"
  :other-modes '(maxima-mode))
 
 ;; coreutils and bash builtins overlap in places, eg. printf, so there's a


-- 
Reclama i tuoi diritti digitali, elimina il DRM.  Approfondisci su
http://www.no1984.org
Reclaim your digital rights, eliminate DRM.  Learn more at
http://www.defectivebydesign.org/what_is_drm

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-08  1:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-08  1:02 little fix for `maxima-mode' and `inferior-maxima-mode' Andrea Russo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.