all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [ats@acm.org: Extraneous newline added in display]
@ 2002-12-07 21:27 Richard Stallman
  2002-12-07 23:37 ` Alan Shutko
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Stallman @ 2002-12-07 21:27 UTC (permalink / raw)
  Cc: emacs-devel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3326 bytes --]

I can't reproduce this using quail to enter the ä characters,
and I don't have a keyboard with that character.  Can you figure
out a way to investigate this?

------- Start of forwarded message -------
To: emacs-pretest-bug@gnu.org
Subject: Extraneous newline added in display
From: Alan Shutko <ats@acm.org>
Date: Thu, 05 Dec 2002 21:36:52 -0500
X-Spam-Status: No, hits=-0.4 required=5.0
	tests=GAPPY_TEXT,SPAM_PHRASE_00_01,USER_AGENT
	version=2.41
X-Spam-Level: 


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

In an xterm (with color support)
emacs -q -nw -l hlbug.el

Type C-l C-n C-e.  Enter ä (an umlauted a) twice.

The first ä will display correctly on the end of the line.  The
second will appear on the _next_ line.  Hitting C-l again will
correct the display.

This behavior was discovered with the highlight-current-line
package.  The package may be useless with hl-line-mode included with
emacs, but still, the code in the hlbug.el below looks correct.

Could someone take a look at this?

- ---- hlbug.el ----
(defvar highlight-current-line-overlay
  ;; Dummy initialization
  (make-overlay 1 1)
  "Overlay for highlighting."
  )

(make-face 'highlight-current-line-face)
(set-face-foreground 'highlight-current-line-face
		     "white")
(set-face-background 'highlight-current-line-face
		     "blue")
(overlay-put highlight-current-line-overlay
	     'face 'highlight-current-line-face)
(defun highlight-current-line-hook ()
  (let ((current-point (point)))
    ;; Set overlay
    (move-overlay highlight-current-line-overlay
		  (progn (beginning-of-line)
			 (point))
		  (progn (forward-line 1)
			 (point))
		  (current-buffer))
    (goto-char current-point)))

(add-hook 'post-command-hook 'highlight-current-line-hook)


(set-keyboard-coding-system 'iso-8859-15-unix)
(set-terminal-coding-system 'iso-8859-15-unix)

(insert "\nabcdefg\n")
- ---- end hlbug.el ----


In GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2002-12-05 on wesley.springies.com
configured using `configure  'CFLAGS=-g -O''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  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: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Recent input:
M-d y M-d M-d p o i n t C-x C-s SPC C-x C-s <end> ( 
g o t o - l i n e SPC 2 ) <return> ( e n d - o f - 
l i n e ) <return> ( i n s e r t SPC " ä " ) <return> 
C-x C-s <down-mouse-1> <mouse-1> C-k C-k C-k C-k C-k 
C-k C-k C-x C-g C-b C-x C-b f <up> <up> <up> <up> <up> 
<up> <up> <up> M-x r e p o r t - e m a c s - b u g 
<tab> <return>

Recent messages:
Please type y, n or r; or ? for help
hlbug.el changed on disk; really edit the buffer? (y, n, r or C-h) 
File on disk now will become a backup file if you save these changes.
hlbug.el has changed since visited or saved.  Save anyway? (y or n) 
Wrote /home/ats/hlbug.el
(No changes need to be saved)
Mark set
Wrote /home/ats/hlbug.el
Buffers have changed; type g to update Ibuffer
Loading emacsbug...done

- -- 
Alan Shutko <ats@acm.org> - In a variety of flavors!
Wanted: Guillotine operator. Chance to get ahead.
------- End of forwarded message -------

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ats@acm.org: Extraneous newline added in display]
  2002-12-07 21:27 [ats@acm.org: Extraneous newline added in display] Richard Stallman
@ 2002-12-07 23:37 ` Alan Shutko
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Shutko @ 2002-12-07 23:37 UTC (permalink / raw)
  Cc: emacs-devel

Richard Stallman <rms@gnu.org> writes:

> I can't reproduce this using quail to enter the ä characters,
> and I don't have a keyboard with that character.  Can you figure
> out a way to investigate this?

I was using the X compose sequence, but I also have duplicated it
by pasting the ä from one xterm to another.

I'm continuing to look at it myself, but I don't know the display
code at all.

-- 
Alan Shutko <ats@acm.org> - In a variety of flavors!
Redundancy - Criminal Lawyer

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-12-07 23:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-07 21:27 [ats@acm.org: Extraneous newline added in display] Richard Stallman
2002-12-07 23:37 ` Alan Shutko

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.