Ikumi Keita <[email protected]> writes:

>> Sorry, in the current form this patch cannot go in since
>> `activate-mark' seems not to be available in XEmacs.
>
> Well, I believe that it does not break XEmacs compatibility because
> the code in question has the following structure:
>
> ---- line 627-777 in tex.el ------------------------------------------
> ;;; Special support for XEmacs
>
> (when (featurep 'xemacs)
> ...
>   (fset 'TeX-activate-region (symbol-function 'zmacs-activate-region))
> ...
> ... )
>
> ;;; Special support for GNU Emacs
>
> (unless (featurep 'xemacs)
> ...
>   (defun TeX-activate-region ()
>     (setq deactivate-mark nil)
>     (activate-mark))
> ...
> ... )
> -----------------------------------------------------------------------

Ah, indeed.  I've only looked at the patch where this context hasn't
been visible.

But are you sure that changing the GNU Emacs version of
`TeX-activate-region' from a no-op to the above has no undesired
side-effects?  I mean, it's also used at some other places in latex.el,
tex-info.el, and context.el.

> P.S. Although I used goto-char in the patch-2, it may be better to use
> set-mark there.  The point is located before the mark if one uses
> goto-char, while the point is located after the mark if one uses
> set-mark.

Ok, then let's use that.

Bye,
Tassilo

_______________________________________________
bug-auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-auctex

Reply via email to