all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* non selected windows code borked
@ 2006-08-23  9:29 stark
  2006-08-24  5:20 ` Richard Stallman
  0 siblings, 1 reply; 9+ messages in thread
From: stark @ 2006-08-23  9:29 UTC (permalink / raw)


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@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.4.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-05-14 on trouble, modified by Debian
configured using `configure '--build=i486-linux-gnu' '--host=i486-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=athena' 'CFLAGS=-DDEBIAN -g -O2' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu''
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: en_GB
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: nil

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


The logic to detect "non-selected-windows" seems to get it wrong as often as
it gets it right. I'm typing right now with a hollow cursor for example. I
can't tell when it happens, it happens more often than not though.
Occasionally I'm pleasantly surprised to find it isn't happening.


Usually this just means I can't tell which window is active since they all
have hollow cursors. But it gets really painful when something sets
cursor-in-non-selected-windows to nil -- then I'm typing entirely blind.
Incidentally I find it somewhat offensive that some packages set this
variable, shouldn't it be a user choice?

I'm using Xorg from the Debian package version 1:7.0.22. My window manager is
BOG standard twm from the Debian package version 1:1.0.1-4. I can't imagine
what else might relate to this. I'm not even running any GUI programs with a
tendency to grab the mouse, just a couple xterms.





Recent input:
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n 
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-v C-x o <switch-frame> 
C-v <down-mouse-1> <switch-frame> <mouse-1> C-v <down-mouse-1> 
<mouse-1> c u r s o r - i n - n o n <tab> <return> 
t <return> <switch-frame> C-n C-n C-n <switch-frame> 
<down-mouse-1> <mouse-1> C-n C-n C-n C-p C-l <escape> 
x b u g - e m a c s <return> <M-backspace> <M-backspace> 
e m <backspace> <backspace> r e p o r <tab> <retur
n>

Recent messages:
Saving /home/stark/News/.newsrc.eld...done
Loading etags...done
Making completion list...
Loading view (compiled; note, source file is newer)...done
Starting a new list of tags tables
Loading cc-mode...done
Mark set
Loading apropos...done
End of buffer [2 times]
Loading emacsbug...done

-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

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

* Re: non selected windows code borked
  2006-08-23  9:29 non selected windows code borked stark
@ 2006-08-24  5:20 ` Richard Stallman
  2006-08-29 10:44   ` Gregory Stark
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Stallman @ 2006-08-24  5:20 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Would you please try installing the development Emacs from 
CVS on savannah.gnu.org, and see if the problem is fixed?

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

* Re: non selected windows code borked
  2006-08-24  5:20 ` Richard Stallman
@ 2006-08-29 10:44   ` Gregory Stark
  2006-08-29 19:06     ` Kevin Rodgers
  2006-08-29 21:29     ` Richard Stallman
  0 siblings, 2 replies; 9+ messages in thread
From: Gregory Stark @ 2006-08-29 10:44 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Richard Stallman <rms@gnu.org> writes:

> Would you please try installing the development Emacs from 
> CVS on savannah.gnu.org, and see if the problem is fixed?

I haven't seen the problem in the latest development version.

(I do some see some other problems like font-lock-mode not working properly
but I assume these are just normal bugs due to using a development version)


-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

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

* Re: non selected windows code borked
  2006-08-29 10:44   ` Gregory Stark
@ 2006-08-29 19:06     ` Kevin Rodgers
  2006-08-29 21:29     ` Richard Stallman
  1 sibling, 0 replies; 9+ messages in thread
From: Kevin Rodgers @ 2006-08-29 19:06 UTC (permalink / raw)


Gregory Stark wrote:
> Richard Stallman <rms@gnu.org> writes:
> 
>> Would you please try installing the development Emacs from 
>> CVS on savannah.gnu.org, and see if the problem is fixed?
> 
> I haven't seen the problem in the latest development version.
> 
> (I do some see some other problems like font-lock-mode not working properly
> but I assume these are just normal bugs due to using a development version)

Not at all.  Please report any bugs via M-x report-emacs-bug (on
<menu-bar> <help-menu> <report-emacs-bug>).

-- 
Kevin

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

* Re: non selected windows code borked
  2006-08-29 10:44   ` Gregory Stark
  2006-08-29 19:06     ` Kevin Rodgers
@ 2006-08-29 21:29     ` Richard Stallman
  2006-08-30  8:49       ` Font Lock Mode only highlights strings Gregory Stark
  1 sibling, 1 reply; 9+ messages in thread
From: Richard Stallman @ 2006-08-29 21:29 UTC (permalink / raw)
  Cc: bug-gnu-emacs

    (I do some see some other problems like font-lock-mode not working properly
    but I assume these are just normal bugs due to using a development version)

Please report each of these bugs.  If you don't report them,
how can we fix them?

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

* Font Lock Mode only highlights strings
  2006-08-29 21:29     ` Richard Stallman
@ 2006-08-30  8:49       ` Gregory Stark
  2006-08-30  8:51         ` Gregory Stark
                           ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Gregory Stark @ 2006-08-30  8:49 UTC (permalink / raw)
  Cc: bug-gnu-emacs


Richard Stallman <rms@gnu.org> writes:

>     (I do some see some other problems like font-lock-mode not working properly
>     but I assume these are just normal bugs due to using a development version)
>
> Please report each of these bugs.  If you don't report them,
> how can we fix them?

Well the problem is that font-lock-mode seems to be hilighting only strings.
Nothing else. No keywords, types, nothing.

I'm in c-mode from cc-mode.el. I have extensive customizations though so it
would be hard to pin down exactly what's causing this.

The only code in my .emacs that seems to relate to font-lock-mode is this
which I do in my c-mode-hook:

 		   (font-lock-mode 1)
		   (set-face-foreground 'font-lock-string-face "cyan")


-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

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

* Re: Font Lock Mode only highlights strings
  2006-08-30  8:49       ` Font Lock Mode only highlights strings Gregory Stark
@ 2006-08-30  8:51         ` Gregory Stark
       [not found]         ` <mailman.5996.1156927910.9609.bug-gnu-emacs@gnu.org>
  2006-08-31  7:33         ` Richard Stallman
  2 siblings, 0 replies; 9+ messages in thread
From: Gregory Stark @ 2006-08-30  8:51 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Gregory Stark <stark@enterprisedb.com> writes:

> The only code in my .emacs that seems to relate to font-lock-mode is this
> which I do in my c-mode-hook:
>
>  		   (font-lock-mode 1)
> 		   (set-face-foreground 'font-lock-string-face "cyan")

and when I remove that set-face-foreground then *nothing* gets highlighted.

it's as if font-lock-mode isn't actually setting up its faces. It just leaves
them set to the default green on black.

-- 
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

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

* Re: Font Lock Mode only highlights strings
       [not found]         ` <mailman.5996.1156927910.9609.bug-gnu-emacs@gnu.org>
@ 2006-08-30 18:28           ` martin
  0 siblings, 0 replies; 9+ messages in thread
From: martin @ 2006-08-30 18:28 UTC (permalink / raw)



>>>>> Gregory Stark <stark@enterprisedb.com> writes:
 >  Gregory Stark <stark@enterprisedb.com> writes:
 >> The only code in my .emacs that seems to relate to font-lock-mode
 >> is this which I do in my c-mode-hook:
 >> 
 >> (font-lock-mode 1) (set-face-foreground 'font-lock-string-face
 >> "cyan")
 > 
 > and when I remove that set-face-foreground then *nothing* gets
 > highlighted.
 > 
 > it's as if font-lock-mode isn't actually setting up its faces. It
 > just leaves them set to the default green on black.
 > 
 > -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
 > 
 > 
 > 

Hi,

start emacs with the command line options --no-site-file and
-no-init-file and look at your c-sourcecode.

Fontlocking works very well for me with
GNU Emacs 22.0.50.1 (i386-mingw-nt5.0.2195) of 2006-07-31 on DTOP
and
GNU Emacs 23.0.0.1 (i386-mingw-nt5.0.2195) of 2006-07-31 on DTOP

Martin
-- 
parozusa at web dot de

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

* Re: Font Lock Mode only highlights strings
  2006-08-30  8:49       ` Font Lock Mode only highlights strings Gregory Stark
  2006-08-30  8:51         ` Gregory Stark
       [not found]         ` <mailman.5996.1156927910.9609.bug-gnu-emacs@gnu.org>
@ 2006-08-31  7:33         ` Richard Stallman
  2 siblings, 0 replies; 9+ messages in thread
From: Richard Stallman @ 2006-08-31  7:33 UTC (permalink / raw)
  Cc: bug-gnu-emacs

    Well the problem is that font-lock-mode seems to be hilighting only strings.
    Nothing else. No keywords, types, nothing.

Please report a precise test case that we can try.
Please read the Bugs section in the Emacs manual, which provides
guidelines on how to write a bug report to give us the
necessary information so we can fix the bug.

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

end of thread, other threads:[~2006-08-31  7:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-23  9:29 non selected windows code borked stark
2006-08-24  5:20 ` Richard Stallman
2006-08-29 10:44   ` Gregory Stark
2006-08-29 19:06     ` Kevin Rodgers
2006-08-29 21:29     ` Richard Stallman
2006-08-30  8:49       ` Font Lock Mode only highlights strings Gregory Stark
2006-08-30  8:51         ` Gregory Stark
     [not found]         ` <mailman.5996.1156927910.9609.bug-gnu-emacs@gnu.org>
2006-08-30 18:28           ` martin
2006-08-31  7:33         ` Richard Stallman

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.