Dan Jacobson | 1 Apr 2003 02:13

shell: C-c C-c ends ssh session

Gentlemen, do M-x shell and in which start an ssh session to your
favorite host.  Now do some command that you would like to send a ^C
to eventually. Say "cat" with no args.  Well, C-c C-c and wammo,
you've ended the ssh session.  Ok, perhaps "why, of course", but
still, rather unnerving.  I did C-q C-c but that didn't work.

(I run ssh in emacs' shell mode to avoid transcontinental character
editing before I hit each RET.) 
BTW, how about C-c C-d for sending EOFs. Didn't dare that yet.
--

-- 
http://jidanni.org/ Taiwan(04)25854780
Dave Love | 1 Apr 2003 20:43
Picon
Picon

open-paren-in-column-0-is-defun-start not customized

Is there a good reason for it not being customized?  I think it should
appear in both the editing-basics and font-lock groups.
Moran, Patrick | 1 Apr 2003 21:34
Favicon

resize window when displaying 2 buffers crashes version 21.2.1, windows 2000

To: bug-gnu-emacs <at> gnu.org
Subject: resize window when displaying 2 buffers crashes version 21.2.1,
windows 2000
--text follows this line--
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs <at> gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.2.1 (i386-msvc-nt5.0.2195)
 of 2002-03-19 on buffy
configured using `configure --with-msvc (12.00)'
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: ENU
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

(Continue reading)

John Russell | 1 Apr 2003 22:55
Picon
Favicon

new dired viewer

This isn't so much a bug report as a suggestion.  I just downloaded
emacs from cvs yesterday.  I really like the dired viewer that allows
the spawning of external viewers for certain file types.  However, emacs
seems to have to wait for the process to die.  Is there any way to start
a viewer and then cut it loose?  It would be nice to view a pdf in xpdf
and still be able to use emacs afterward.  Thanks.

John
Felix Berger | 1 Apr 2003 23:49
Picon

gud.el: gdb doesn't work with libtool

This bug report will be sent to the Free Software Foundation,
 not to your local site managers!!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

In GNU Emacs 20.7.2 (i386-debian-linux-gnu, X toolkit)
 of Thu Apr  4 2002 on cyberhq modified by Debian
configured using `configure  i386-debian-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
--libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info
--mandir=/usr/share/man --with-pop=yes --with-x=yes --with-x-toolkit=yes'

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

In order to debug binaries built with libtool support you have to invoke gdb
like this:

libtool gdb binary-to-test

instead of just:

gdb binary-to-test

Since Emacs prepends the option "-fullname" in gud-gdb-massage-args libtool is
confused and bails out.

This simple fix seemed to to do the job for me:

(defun gud-gdb-massage-args (file args)
  (append args (list "-fullname")))
(Continue reading)

Aman Bhargava | 1 Apr 2003 23:55

Patch for xt-mouse beyond column 94

A rather old bug with mouse support in emacs-nw still lives in 21.2. The
symptom is described in
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=utf-8&selm=199802151113.NAA17982%40beach.weizmann.ac.il
(full text pasted later in this email)

The bug is reproducible at least on the GNU/Linux operating system.

The root cause of this is that the read-char function doesn't return the
expected result for ASCII values above 127. I have provided a rather
inelegant patch that contains a wrapper, read-8bit-char, over read-char
which addresses this instance of the problem. If a similar function or
better solution already exists, please make me aware of it so I can revise
the patch.

-Aman

Patch:

*** xt-mouse.el.original        Tue Apr  1 13:35:58 2003
--- xt-mouse.el Tue Apr  1 13:49:21 2003
***************
*** 115,123 ****

  (defun xterm-mouse-event ()
    "Convert XTerm mouse event to Emacs mouse event."
!   (let* ((type (- (read-char) #o40))
!        (x (- (read-char) #o40 1))
!        (y (- (read-char) #o40 1))
         (point (cons x y))
         (window (window-at x y))
(Continue reading)

Jeffrey Richardson | 2 Apr 2003 00:25

CC Mode 5.28 (C); font-size

font-size: 15

Emacs  : GNU Emacs 21.1.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2001-11-08 on onyx.boisestate.edu
Package: CC Mode 5.28 (C)
Buffer Style: gnu

c-emacs-features: (1-bit)

current state:
==============
(setq
 c-basic-offset 2
 c-comment-only-line-offset '(0 . 0)
 c-block-comment-prefix ""
 c-comment-prefix-regexp '((pike-mode . "//+!?\\|\\**") (other . "//+\\|\\**"))
 c-cleanup-list '(scope-operator)
 c-hanging-braces-alist '((brace-list-open) (brace-entry-open)
			  (substatement-open after)
			  (block-close . c-snug-do-while)
			  (extern-lang-open after) (inexpr-class-open after)
			  (inexpr-class-close before))
 c-hanging-colons-alist nil
 c-hanging-semi&comma-criteria '(c-semi&comma-inside-parenlist)
 c-backslash-column 48
 c-label-minimum-indentation 1
 c-offsets-alist '((string . c-lineup-dont-change)
		   (c . c-lineup-C-comments)
		   (defun-open . 0)
		   (defun-close . 0)
(Continue reading)

Jeffrey Richardson | 2 Apr 2003 00:28

CC Mode 5.28 (C);

font-size:15;

Emacs  : GNU Emacs 21.1.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2001-11-08 on onyx.boisestate.edu
Package: CC Mode 5.28 (C)
Buffer Style: gnu

c-emacs-features: (1-bit)

current state:
==============
(setq
 c-basic-offset 2
 c-comment-only-line-offset '(0 . 0)
 c-block-comment-prefix ""
 c-comment-prefix-regexp '((pike-mode . "//+!?\\|\\**") (other . "//+\\|\\**"))
 c-cleanup-list '(scope-operator)
 c-hanging-braces-alist '((brace-list-open) (brace-entry-open)
			  (substatement-open after)
			  (block-close . c-snug-do-while)
			  (extern-lang-open after) (inexpr-class-open after)
			  (inexpr-class-close before))
 c-hanging-colons-alist nil
 c-hanging-semi&comma-criteria '(c-semi&comma-inside-parenlist)
 c-backslash-column 48
 c-label-minimum-indentation 1
 c-offsets-alist '((string . c-lineup-dont-change)
		   (c . c-lineup-C-comments)
		   (defun-open . 0)
		   (defun-close . 0)
(Continue reading)

Jeffrey Richardson | 2 Apr 2003 00:33

CC Mode 5.28 (C);

nothing

Emacs  : GNU Emacs 21.1.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2001-11-08 on onyx.boisestate.edu
Package: CC Mode 5.28 (C)
Buffer Style: gnu

c-emacs-features: (1-bit)

current state:
==============
(setq
 c-basic-offset 2
 c-comment-only-line-offset '(0 . 0)
 c-block-comment-prefix ""
 c-comment-prefix-regexp '((pike-mode . "//+!?\\|\\**") (other . "//+\\|\\**"))
 c-cleanup-list '(scope-operator)
 c-hanging-braces-alist '((brace-list-open) (brace-entry-open)
			  (substatement-open after)
			  (block-close . c-snug-do-while)
			  (extern-lang-open after) (inexpr-class-open after)
			  (inexpr-class-close before))
 c-hanging-colons-alist nil
 c-hanging-semi&comma-criteria '(c-semi&comma-inside-parenlist)
 c-backslash-column 48
 c-label-minimum-indentation 1
 c-offsets-alist '((string . c-lineup-dont-change)
		   (c . c-lineup-C-comments)
		   (defun-open . 0)
		   (defun-close . 0)
(Continue reading)

Aman Bhargava | 2 Apr 2003 01:45

Re: Patch for xt-mouse beyond column 94

Sorry, the previously posted patch contained a typo. The corrected patch
follows:

*** xt-mouse.el.original        Tue Apr  1 13:35:58 2003
--- xt-mouse.el Tue Apr  1 15:43:00 2003
***************
*** 115,123 ****

  (defun xterm-mouse-event ()
    "Convert XTerm mouse event to Emacs mouse event."
!   (let* ((type (- (read-char) #o40))
!        (x (- (read-char) #o40 1))
!        (y (- (read-char) #o40 1))
         (point (cons x y))
         (window (window-at x y))
         (where (if window
--- 115,131 ----

  (defun xterm-mouse-event ()
    "Convert XTerm mouse event to Emacs mouse event."
!
!   ;; read-char messes up xterm sequences above ascii 127 (ox7f)
!   (defun read-8bit-char ()
!     (let ((c (read-char)))
!       (if (< c 0)
!         (+ c #x8000000 128)
!       c)))
!
!   (let* ((type (- (read-8bit-char) #o40))
!        (x (- (read-8bit-char) #o40 1))
(Continue reading)


Gmane