unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#708: erratic frame behaviour while selecting fonts
@ 2008-08-13 13:14 Werner LEMBERG
  0 siblings, 0 replies; 6+ messages in thread
From: Werner LEMBERG @ 2008-08-13 13:14 UTC (permalink / raw)
  To: bug-gnu-emacs

[-- Attachment #1: Type: Text/Plain, Size: 626 bytes --]


[cvs version 2008-08-11, gtk 2.10.6, running within KDE 3.5.5]

Starting with emacs -Q, I get image 1.  Selecting

  Options->Set Default Font->OK

(Sans, Standard, 12pt), I get image 2.  Repeating this I get images 3
and 4.

Very erratic...


    Werner


PS: Why is `Sans, Standard, 12pt' the default?  Starting emacs with
    -Q, I get a completely different (bitmap?) font -- and how can I
    select this bitmap font again with the menu?  In case this isn't
    (easily?) possible there should be an additional message in the
    font selection dialogue, giving a hint how to set up bitmap fonts.


[-- Attachment #2: emacs1.png --]
[-- Type: Image/Png, Size: 27790 bytes --]

[-- Attachment #3: emacs2.png --]
[-- Type: Image/Png, Size: 45499 bytes --]

[-- Attachment #4: emacs3.png --]
[-- Type: Image/Png, Size: 28683 bytes --]

[-- Attachment #5: emacs4.png --]
[-- Type: Image/Png, Size: 7883 bytes --]

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

* bug#708: erratic frame behaviour while selecting fonts
@ 2008-09-28 20:49 Chong Yidong
  2008-09-28 21:13 ` Werner LEMBERG
  0 siblings, 1 reply; 6+ messages in thread
From: Chong Yidong @ 2008-09-28 20:49 UTC (permalink / raw)
  To: Werner LEMBERG; +Cc: 708

> [cvs version 2008-08-11, gtk 2.10.6, running within KDE 3.5.5]
>
> Starting with emacs -Q, I get image 1.  Selecting
>
>   Options->Set Default Font->OK
>
> (Sans, Standard, 12pt), I get image 2.  Repeating this I get images 3
> and 4.
>
> Very erratic...

I can't reproduce this problem (running Gnome not KDE though).  Do you
still see this bug with latest CVS?






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

* bug#708: erratic frame behaviour while selecting fonts
  2008-09-28 20:49 Chong Yidong
@ 2008-09-28 21:13 ` Werner LEMBERG
  2008-09-29 17:29   ` Chong Yidong
  0 siblings, 1 reply; 6+ messages in thread
From: Werner LEMBERG @ 2008-09-28 21:13 UTC (permalink / raw)
  To: cyd; +Cc: 708


> > Starting with emacs -Q, I get image 1.  Selecting
> >
> >   Options->Set Default Font->OK
> >
> > (Sans, Standard, 12pt), I get image 2.  Repeating this I get images 3
> > and 4.
> >
> > Very erratic...
> 
> I can't reproduce this problem (running Gnome not KDE though).  Do you
> still see this bug with latest CVS?

Yes, the created frame sizes are still completely unpredictable.  I've
just tested with emacs -Q from CVS yesterday.


    Werner


PS: And I still don't see a menu entry to make Emacs use bitmap fonts...






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

* bug#708: erratic frame behaviour while selecting fonts
  2008-09-28 21:13 ` Werner LEMBERG
@ 2008-09-29 17:29   ` Chong Yidong
  0 siblings, 0 replies; 6+ messages in thread
From: Chong Yidong @ 2008-09-29 17:29 UTC (permalink / raw)
  To: Werner LEMBERG; +Cc: 708

Werner LEMBERG <wl@gnu.org> writes:

> Yes, the created frame sizes are still completely unpredictable.  I've
> just tested with emacs -Q from CVS yesterday.

Could you start Emacs in gdb, set a gdb breakpoint at Fset_frame_size,
run the program, then do `backtrace' and `continue' past each of the
breaks?  Then mail me the result.

Thanks.






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

* bug#708: erratic frame behaviour while selecting fonts
  2008-10-01  0:33 bug#708: erratic frame behaviour while selecting fonts Chong Yidong
@ 2008-09-30 21:49 ` Werner LEMBERG
  0 siblings, 0 replies; 6+ messages in thread
From: Werner LEMBERG @ 2008-09-30 21:49 UTC (permalink / raw)
  To: cyd; +Cc: 708


> Also, could you send me the minimal .emacs and .Xresources files that
> reproduce this problem?

As already mentioned, I use `emacs -Q' for testing, so there is no
.emacs file involved.  Similarly (and I've mentioned this too), I
don't have an .Xresources file in my home directory.  I've just tested
to remove my /usr/share/X11/app-defaults/Emacs file, but I get exactly
the same weird behaviour, this is, Emacs suggests a different font as
the default font each time I try to set it, and the frame size is
erratic as before.

Below is my /etc/X11/Xresources file.


    Werner


======================================================================


!
! Default mapping for Delete
!
*Text.Translations:	#override \n\
   ~Shift ~Meta ~Alt <Key>Delete:	delete-next-character() \n

*AxeText.Translations:	#override \n\
   ~Shift ~Meta ~Alt <Key>Delete:	delete-next-character() \n

*XmText.Translations:	#override \n\
   ~Shift ~Meta ~Alt <Key>Delete:	delete-next-character() \n\
   ~Shift ~Meta ~Alt <Key>osfDelete:	delete-next-character() \n\
   ~Shift ~Meta ~Alt <Key>osfBackSpace:	delete-previous-character() \n

*XmTextField.Translations: #augment \n\
   ~Shift ~Meta ~Alt <Key>osfDelete:	delete-next-character() \n\
   ~Shift ~Meta ~Alt <Key>osfBackSpace:	delete-previous-character() \n

!
! Defaults for 3D Athena Widgets library
!
#ifdef COLOR
*Form.background:			grey67
*TransientShell*Dialog.background:	grey67
*Command.background:			grey77
*MenuButton.background:			grey77
*MenuButton.foreground:			black
*SimpleMenu*background:			grey77
*SimpleMenu*foreground:			black
*ScrollbarBackground:			grey67
*ScrollbarForeground:			grey37
*Scrollbar*background:			grey77
*Scrollbar*foreground:			grey37
*Scrollbar*pointerColor:		black
*Scrollbar*pointerColorBackground:	white
*beNiceToColormap:			False
#else
*Form.background:			black
*Form.foreground:			white
*TransientShell*Dialog.background:	black
*TransientShell*Dialog.foreground:	white
*Command.background:			black
*Command.foreground:			white
*MenuButton.background:			black
*MenuButton.foreground:			white
*SimpleMenu*background:			black
*SimpleMenu*foreground:			white
*ScrollbarBackground:			black
*ScrollbarForeground:			white
*Scrollbar*background:			black
*Scrollbar*foreground:			white
*Scrollbar*pointerColor:		black
*Scrollbar*pointerColorBackground:	white
*beNiceToColormap:True
#endif
*Scrollbar*width:			15
*Scrollbar*height:			15
*Scrollbar*shadowWidth:			2
*Scrollbar*borderWidth:			2
*Scrollbar*cursorName:			top_left_arrow
*Scrollbar*pushThumb:			false
*Label*shadowWidth:			2
*Label*borderWidth:			2
*shapeStyle:				Rectangle
*shadowWidth:				2
*SmeBSB*shadowWidth:			2
*Toggle*highlightThickness:		2
*MenuButton*highlightThickness:		2
*Command*highlightThickness:		2
*Panner*shadowThickness:		2
*SimpleMenu*shadowThickness:		2
*topShadowContrast:			20
*bottomShadowContrast:			45
*PushThumb:				False

!
! Defaults for Acrobat Reader
!
AcroRead*XmScrollBar.baseTranslations: #augment \
    Shift<Btn5Down>: PageDownOrRight(0) \n Shift<Btn4Down>: PageUpOrLeft(0) \n\
    Ctrl<Btn5Down>: IncrementDownOrRight(0) IncrementDownOrRight(0) IncrementDownOrRight(0) \n\
    Ctrl<Btn4Down>: IncrementUpOrLeft(0) IncrementUpOrLeft(0) IncrementUpOrLeft(0) \n\
    <Btn5Down>: IncrementDownOrRight(0) \n <Btn4Down>: IncrementUpOrLeft(0) \n 

*printCommand: lpr

Mwm.interactivePlacement:	false

Scrollbar.JumpCursor:	True


Ghostview.pageMedia:  A4

*XConsole*text.scrollHorizontal:         False
*XConsole*text.wrap: line

!
! XSysinfo 
!
XSysinfo*.font:                 fixed
XSysinfo*.title.label:          Linx System Info
XSysinfo*.title.width:          200
XSysinfo*.load.name.label:      CPU Load:
XSysinfo*.idle.name.label:      CPU Idle:
XSysinfo*.mem.name.label:       Memory:
XSysinfo*.swap.name.label:      Swap:
! set foreground colors for load
XSysinfo*load*bar.foreground:   RosyBrown1
XSysinfo*load*bar.foreground1:  IndianRed1
XSysinfo*load*bar.foreground2:  OrangeRed1
XSysinfo*load*bar.foreground3:  firebrick1
XSysinfo*load*bar.foreground4:  pink1
XSysinfo*load*bar.foreground5:  HotPink1
XSysinfo*load*bar.foreground6:  DeepPink2
XSysinfo*load*bar.foreground7:  maroon1
XSysinfo*load*bar.segmentGap:   1

! set idle gauge color
XSysinfo*idle*bar.foreground:   green
XSysinfo*idle*bar.backgroud:   red

! set mem info gauge colors
XSysinfo*mem*bar.foreground:    tomato
XSysinfo*mem*bar.foreground1:   green3
XSysinfo*mem*bar.foreground2:   orchid

! set swap gauge color
XSysinfo*swap*bar.foreground:   hotpink1

! set background
XSysinfo*.background:           gray50
XSysinfo*.BarGauge.background:  white


*basicLocale:	C
*timeFormat:	C
*numeric:	C
*displayLang:	C
*inputLang:	C

#ifdef COLOR
*customization:	-color
#endif






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

* bug#708: erratic frame behaviour while selecting fonts
@ 2008-10-01  0:33 Chong Yidong
  2008-09-30 21:49 ` Werner LEMBERG
  0 siblings, 1 reply; 6+ messages in thread
From: Chong Yidong @ 2008-10-01  0:33 UTC (permalink / raw)
  To: Werner LEMBERG; +Cc: 708

Also, could you send me the minimal .emacs and .Xresources files that
reproduce this problem?

Thanks!






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

end of thread, other threads:[~2008-10-01  0:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-01  0:33 bug#708: erratic frame behaviour while selecting fonts Chong Yidong
2008-09-30 21:49 ` Werner LEMBERG
  -- strict thread matches above, loose matches on Subject: below --
2008-09-28 20:49 Chong Yidong
2008-09-28 21:13 ` Werner LEMBERG
2008-09-29 17:29   ` Chong Yidong
2008-08-13 13:14 Werner LEMBERG

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).