Re: [AUCTeX-devel] Narrowing

2013-11-23 Thread giacomo boffi
Mosè Giordano giordano.m...@libero.it writes:

 Well, since nobody objected my patch, I'm going to install it.

no narrow-map in xemacs, sorry...


___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Narrowing

2013-11-23 Thread Mosè Giordano
Ciao Giacomo,

2013/11/23 giacomo boffi giacomo.bo...@polimi.it:
 Mosè Giordano giordano.m...@libero.it writes:

 Well, since nobody objected my patch, I'm going to install it.

 no narrow-map in xemacs, sorry...


Thank you for the report.  Do you know the analog of `narrow-map' in
XEmacs, if any?

Ciao,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


Re: [AUCTeX-devel] Narrowing

2013-11-23 Thread Mosè Giordano
 2013/11/23 Mosè Giordano giordano.m...@libero.it:
 Ciao Giacomo,

 2013/11/23 giacomo boffi giacomo.bo...@polimi.it:
 Mosè Giordano giordano.m...@libero.it writes:

 Well, since nobody objected my patch, I'm going to install it.

 no narrow-map in xemacs, sorry...


 Thank you for the report.  Do you know the analog of `narrow-map' in
 XEmacs, if any?


I've just seen that XEmacs explicitly binds the narrowing functions to
`C-xn*, as it was in GNU Emacs until 22.1 version.  I'm going to fix
it in AUCTeX.

Ciao,
Mosè

___
auctex-devel mailing list
auctex-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-devel


[AUCTeX-diffs] GNU AUCTeX branch, master, updated. 3f4b3d65c7aa32bf2d0629bf88e61b2b83211ade

2013-11-23 Thread Mosè Giordano
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project GNU AUCTeX.

The branch, master has been updated
   via  3f4b3d65c7aa32bf2d0629bf88e61b2b83211ade (commit)
  from  e231a73465cc1254001e830f937d3127d778a061 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -
commit 3f4b3d65c7aa32bf2d0629bf88e61b2b83211ade
Author: Mosè Giordano giordano.m...@libero.it
Date:   Sat Nov 23 16:58:13 2013 +0100

Fix of the fix, my fault.

diff --git a/latex.el b/latex.el
index 45aaf81..e56e7b0 100644
--- a/latex.el
+++ b/latex.el
@@ -6013,7 +6013,7 @@ i.e. you do _not_ have to cater for this yourself by 
adding ' or $.
   (easy-menu-add LaTeX-mode-menu LaTeX-mode-map)
   (easy-menu-add LaTeX-mode-command-menu LaTeX-mode-map)
 
-  (define-key LaTeX-map C-xne 'LaTeX-narrow-to-environment))
+  (define-key LaTeX-mode-map \C-xne 'LaTeX-narrow-to-environment))
 
 (defun LaTeX-imenu-create-index-function ()
   Imenu support function for LaTeX.
diff --git a/tex.el b/tex.el
index 2c3cf5e..07c452e 100644
--- a/tex.el
+++ b/tex.el
@@ -3141,7 +3141,7 @@ The algorithm is as follows:
   (make-local-variable 'TeX-auto-update)
   (setq TeX-auto-update t)
 
-  (define-key TeX-map C-xng 'TeX-narrow-to-group)
+  (define-key TeX-mode-map \C-xng 'TeX-narrow-to-group)
 
   ;; Minor modes
   (when TeX-source-correlate-mode

---

Summary of changes:
 latex.el |2 +-
 tex.el   |2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
GNU AUCTeX

___
auctex-diffs mailing list
auctex-di...@gnu.org
https://lists.gnu.org/mailman/listinfo/auctex-diffs