unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Menus to big in emacs
@ 2004-10-30  0:00 JS
  2004-10-30  8:01 ` Jochen Küpper
  2004-10-30 14:46 ` Shigeki UNO
  0 siblings, 2 replies; 13+ messages in thread
From: JS @ 2004-10-30  0:00 UTC (permalink / raw)


How do I make the menus in emacs smaller they are enormous and take to
much of my place.

Its both then menu with: File Edit Option Buffers Tools Help
and the graphical menu with discard, read cut etc icons.


Johs

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

* Re: Menus to big in emacs
  2004-10-30  0:00 Menus to big in emacs JS
@ 2004-10-30  8:01 ` Jochen Küpper
  2004-10-30  9:35   ` JS
  2004-10-30 14:46 ` Shigeki UNO
  1 sibling, 1 reply; 13+ messages in thread
From: Jochen Küpper @ 2004-10-30  8:01 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 855 bytes --]

JS <asd-fqskXWjLZVE@public.gmane.org> writes:

> How do I make the menus in emacs smaller they are enormous and take
> to much of my place.

Use a smaller font? I have
,----[.Xdefaults]
|                               Emacs.font: -*-lucidatypewriter-medium-r-*-*-*-140-*-*-*-90-*-*
|              Emacs.default.attributeFont: -*-lucidatypewriter-medium-r-*-*-*-140-*-*-*-90-*-*
| 		      Emacs*menubar*Font: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
| 		  Emacs*menubar*FontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
| 		       Emacs*Dialog*Font: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
`----


Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        (Part 3 you find in my messages before fall 2003.)

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 173 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs-mXXj517/zsQ@public.gmane.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

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

* Re: Menus to big in emacs
  2004-10-30  8:01 ` Jochen Küpper
@ 2004-10-30  9:35   ` JS
  2004-10-30 11:40     ` Juhapekka Tolvanen
  0 siblings, 1 reply; 13+ messages in thread
From: JS @ 2004-10-30  9:35 UTC (permalink / raw)


On Sat, 30 Oct 2004 10:01:40 +0200, Jochen Küpper wrote:

> JS <asd@asd.com> writes:
> 
>> How do I make the menus in emacs smaller they are enormous and take
>> to much of my place.
> 
> Use a smaller font? I have
> ,----[.Xdefaults]
> |                               Emacs.font: -*-lucidatypewriter-medium-r-*-*-*-140-*-*-*-90-*-*
> |              Emacs.default.attributeFont: -*-lucidatypewriter-medium-r-*-*-*-140-*-*-*-90-*-*
> | 		      Emacs*menubar*Font: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
> | 		  Emacs*menubar*FontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
> | 		       Emacs*Dialog*Font: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
> `----
> 
> 
> Greetings,
> Jochen


But when I open .Xdefaults in emacs its just an empty file! If I enter the
above information nothing happens when I restart emacs. I have found a
file called "xdefaults.vim" but thats just a regular txt file.

Johs

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

* Re: Menus to big in emacs
  2004-10-30  9:35   ` JS
@ 2004-10-30 11:40     ` Juhapekka Tolvanen
  2004-10-30 13:25       ` JS
  0 siblings, 1 reply; 13+ messages in thread
From: Juhapekka Tolvanen @ 2004-10-30 11:40 UTC (permalink / raw)




JS <asd@asd.com> writes:

> But when I open .Xdefaults in emacs its just an empty file! If I enter
> the above information nothing happens when I restart emacs. I have
> found a file called "xdefaults.vim" but thats just a regular txt file.

You must save that file. Then you need to run this command:

xrdb -merge $HOME/.Xdefaults

Those settings should be in effect next time you start emacs.

In my computer .Xdefaults is just a symbolic link to .Xresources .


-- 
Juhapekka "naula" Tolvanen * * http colon slash slash iki dot fi slash juhtolv
"kummaan paikkaan itsesi karkotit, syyttä syyllisten seuduille. raskaisiin
taloihin pesit, kirkuviin huoneisiin. mitä ne sinulle tekevät siellä? kuka on
raapinut nimesi pois, nimesi, kasvosi, mielesi oivat palvelemaan konetta?" CMX

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

* Re: Menus to big in emacs
  2004-10-30 11:40     ` Juhapekka Tolvanen
@ 2004-10-30 13:25       ` JS
  2004-10-30 13:48         ` Juhapekka Tolvanen
  0 siblings, 1 reply; 13+ messages in thread
From: JS @ 2004-10-30 13:25 UTC (permalink / raw)


On Sat, 30 Oct 2004 14:40:35 +0300, Juhapekka Tolvanen wrote:

> 
> 
> JS <asd@asd.com> writes:
> 
>> But when I open .Xdefaults in emacs its just an empty file! If I enter
>> the above information nothing happens when I restart emacs. I have
>> found a file called "xdefaults.vim" but thats just a regular txt file.
> 
> You must save that file. Then you need to run this command:
> 
> xrdb -merge $HOME/.Xdefaults
> 
> Those settings should be in effect next time you start emacs.
> 
> In my computer .Xdefaults is just a symbolic link to .Xresources .


Ok now I have made a .Xdefaults file where I have entered the following
info:

|                               Emacs.font: -*-lucidatypewriter-medium-r-*-*-*-140-*-*-*-90-*-*
|              Emacs.default.attributeFont: -*-lucidatypewriter-medium-r-*-*-*-140-*-*-*-90-*-*
| 		      Emacs*menubar*Font: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
| 		  Emacs*menubar*FontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
| 		       Emacs*Dialog*Font: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*

Then I have saved this file and closed emacs. Then I have opened a Xterm
Window and typed xrdb -merge $HOME/.Xdefaults and then Enter.

But when I open emacs it just looks like it used to. I have also tried to
remove the pipes "|" but that does not change anything.

What am I doing wrong?


Johs

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

* Re: Menus to big in emacs
  2004-10-30 13:25       ` JS
@ 2004-10-30 13:48         ` Juhapekka Tolvanen
  2004-10-30 14:27           ` JS
  0 siblings, 1 reply; 13+ messages in thread
From: Juhapekka Tolvanen @ 2004-10-30 13:48 UTC (permalink / raw)




JS <asd@asd.com> writes:

> Ok now I have made a .Xdefaults file where I have entered the following
> info:
>
> |                               Emacs.font: -*-lucidatypewriter-medium-r-*-*-*-140-*-*-*-90-*-*
> |              Emacs.default.attributeFont: -*-lucidatypewriter-medium-r-*-*-*-140-*-*-*-90-*-*
> | 		      Emacs*menubar*Font: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
> | 		  Emacs*menubar*FontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
> | 		       Emacs*Dialog*Font: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*

> But when I open emacs it just looks like it used to. I have also tried
> to remove the pipes "|" but that does not change anything.

Yes, those pipes are useless. Maybe you should have Tabs instead of
Spaces after those colons. And remove spaces from the beginning of each
line.


-- 
Juhapekka "naula" Tolvanen * * http colon slash slash iki dot fi slash juhtolv
"kummaan paikkaan itsesi karkotit, syyttä syyllisten seuduille. raskaisiin
taloihin pesit, kirkuviin huoneisiin. mitä ne sinulle tekevät siellä? kuka on
raapinut nimesi pois, nimesi, kasvosi, mielesi oivat palvelemaan konetta?" CMX

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

* Re: Menus to big in emacs
  2004-10-30 13:48         ` Juhapekka Tolvanen
@ 2004-10-30 14:27           ` JS
  2004-10-30 15:51             ` Juhapekka Tolvanen
  0 siblings, 1 reply; 13+ messages in thread
From: JS @ 2004-10-30 14:27 UTC (permalink / raw)


On Sat, 30 Oct 2004 16:48:53 +0300, Juhapekka Tolvanen wrote:

> 
> 
> JS <asd@asd.com> writes:
> 
>> Ok now I have made a .Xdefaults file where I have entered the following
>> info:
>>
>> |                               Emacs.font: -*-lucidatypewriter-medium-r-*-*-*-140-*-*-*-90-*-*
>> |              Emacs.default.attributeFont: -*-lucidatypewriter-medium-r-*-*-*-140-*-*-*-90-*-*
>> | 		      Emacs*menubar*Font: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
>> | 		  Emacs*menubar*FontList: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
>> | 		       Emacs*Dialog*Font: -*-helvetica-medium-r-*-*-*-120-*-*-*-*-*-*
> 
>> But when I open emacs it just looks like it used to. I have also tried
>> to remove the pipes "|" but that does not change anything.
> 
> Yes, those pipes are useless. Maybe you should have Tabs instead of
> Spaces after those colons. And remove spaces from the beginning of each
> line.

What about the first and last line are they necessary?

,----[.Xdefaults]
bla bla...
bla bla...
bla bla...
`----

When I press Tab after the : the whole line is "tabbed" from the
beginning...Guess thats how Tab works in emacs...

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

* Re: Menus to big in emacs
  2004-10-30  0:00 Menus to big in emacs JS
  2004-10-30  8:01 ` Jochen Küpper
@ 2004-10-30 14:46 ` Shigeki UNO
  2004-10-30 15:21   ` JS
  2004-10-31 13:27   ` JS
  1 sibling, 2 replies; 13+ messages in thread
From: Shigeki UNO @ 2004-10-30 14:46 UTC (permalink / raw)


JS <asd@asd.com> writes:

| How do I make the menus in emacs smaller they are enormous and take to
| much of my place.
| 
| Its both then menu with: File Edit Option Buffers Tools Help
| and the graphical menu with discard, read cut etc icons.
| 
| 
| Johs

~/.Xdefaults

Emacs.pane.menubar.horizontalSpacing:   N 
Emacs.pane.menubar.verticalSpacing:     N
Emacs.pane.menubar.Margin: N

For me,

Emacs.pane.menubar.horizontalSpacing:   4 
Emacs.pane.menubar.verticalSpacing:     2
Emacs.pane.menubar.Margin: 0

HTH,

---
Shigeki UNO

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

* Re: Menus to big in emacs
  2004-10-30 14:46 ` Shigeki UNO
@ 2004-10-30 15:21   ` JS
  2004-10-31 13:27   ` JS
  1 sibling, 0 replies; 13+ messages in thread
From: JS @ 2004-10-30 15:21 UTC (permalink / raw)


On Sat, 30 Oct 2004 23:46:58 +0900, Shigeki UNO wrote:

> JS <asd@asd.com> writes:
> 
> | How do I make the menus in emacs smaller they are enormous and take to
> | much of my place.
> | 
> | Its both then menu with: File Edit Option Buffers Tools Help
> | and the graphical menu with discard, read cut etc icons.
> | 
> | 
> | Johs
> 
> ~/.Xdefaults
> 
> Emacs.pane.menubar.horizontalSpacing:   N 
> Emacs.pane.menubar.verticalSpacing:     N
> Emacs.pane.menubar.Margin: N
> 
> For me,
> 
> Emacs.pane.menubar.horizontalSpacing:   4 
> Emacs.pane.menubar.verticalSpacing:     2
> Emacs.pane.menubar.Margin: 0
> 


Thank you very much that did it! Weird that you need the .Xdefaults file
for this why not just use the .emacs file?

Johs

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

* Re: Menus to big in emacs
  2004-10-30 14:27           ` JS
@ 2004-10-30 15:51             ` Juhapekka Tolvanen
  2004-10-30 18:01               ` Floyd L. Davidson
  0 siblings, 1 reply; 13+ messages in thread
From: Juhapekka Tolvanen @ 2004-10-30 15:51 UTC (permalink / raw)




JS <asd@asd.com> writes:

> What about the first and last line are they necessary?
>
> ,----[.Xdefaults]
> bla bla...
> bla bla...
> bla bla...
> `----

Oh, yes. Those first and last line are not necessary.

> When I press Tab after the : the whole line is "tabbed" from the
> beginning...Guess thats how Tab works in emacs...

Whoops! Well, forget my idea of adding tabs there.


-- 
Juhapekka "naula" Tolvanen * * http colon slash slash iki dot fi slash juhtolv
"kummaan paikkaan itsesi karkotit, syyttä syyllisten seuduille. raskaisiin
taloihin pesit, kirkuviin huoneisiin. mitä ne sinulle tekevät siellä? kuka on
raapinut nimesi pois, nimesi, kasvosi, mielesi oivat palvelemaan konetta?" CMX

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

* Re: Menus to big in emacs
  2004-10-30 15:51             ` Juhapekka Tolvanen
@ 2004-10-30 18:01               ` Floyd L. Davidson
  0 siblings, 0 replies; 13+ messages in thread
From: Floyd L. Davidson @ 2004-10-30 18:01 UTC (permalink / raw)


Juhapekka Tolvanen <SNAFU.juhtolv@iki.fi.FUBAR.invalid> wrote:
>
>> When I press Tab after the : the whole line is "tabbed" from the
>> beginning...Guess thats how Tab works in emacs...
>
>Whoops! Well, forget my idea of adding tabs there.

It appears that he is in a major mode that is doing auto indent,
and the TAB key is commonly used to auto indent the current line.

The way to insert a real tab would then be to "quote" it, using
the sequence C-q TAB.

-- 
FloydL. Davidson           <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska)                         floyd@barrow.com

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

* Re: Menus to big in emacs
  2004-10-31 13:27   ` JS
@ 2004-10-31 12:46     ` Juhapekka Tolvanen
  0 siblings, 0 replies; 13+ messages in thread
From: Juhapekka Tolvanen @ 2004-10-31 12:46 UTC (permalink / raw)



JS <asd@asd.com> writes:

>> ~/.Xdefaults
>> 
>> Emacs.pane.menubar.horizontalSpacing:   N 
>> Emacs.pane.menubar.verticalSpacing:     N
>> Emacs.pane.menubar.Margin: N
>> 
>> For me,
>> 
>> Emacs.pane.menubar.horizontalSpacing:   4 
>> Emacs.pane.menubar.verticalSpacing:     2
>> Emacs.pane.menubar.Margin: 0
>
> Each time I restart Ubuntu linux I have to open a terminal window and type
> xrdb -merge $HOME/.Xdefaults else emacs just look as it used to.
>
> Is there someway to make the changes permanent?

X-resources are read from either ~/.Xdefaults or ~/.Xresources . It
depends on method that was used to start X Window System (startx or
XDM). I write my X-resources to ~/.Xresources . ~/.Xdefaults and
~/.xresources are symbolic links pointing to it.

If you want to be really sure, you may want to add lines like these to
your ~/.xinitrc (and/or ~/.gnomerc):

xrdb -merge /etc/X11/Xresources/*
xrdb -merge $HOME/.Xresources

In my machine ~/.xsession is just a symbplic link pointing to ~/.xinitrc .
Which one is read during startup, depends on method you used for
starting X. IIRC startx-script uses ~/.xinitrc and XDM uses ~/.xsession .

Gnome reads ~/.gnomerc. I don't know, if KDE has correseponding file for
same purpose.

-- 
Juhapekka "naula" Tolvanen * * http colon slash slash iki dot fi slash juhtolv
"kummaan paikkaan itsesi karkotit, syyttä syyllisten seuduille. raskaisiin
taloihin pesit, kirkuviin huoneisiin. mitä ne sinulle tekevät siellä? kuka on
raapinut nimesi pois, nimesi, kasvosi, mielesi oivat palvelemaan konetta?" CMX

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

* Re: Menus to big in emacs
  2004-10-30 14:46 ` Shigeki UNO
  2004-10-30 15:21   ` JS
@ 2004-10-31 13:27   ` JS
  2004-10-31 12:46     ` Juhapekka Tolvanen
  1 sibling, 1 reply; 13+ messages in thread
From: JS @ 2004-10-31 13:27 UTC (permalink / raw)


> ~/.Xdefaults
> 
> Emacs.pane.menubar.horizontalSpacing:   N 
> Emacs.pane.menubar.verticalSpacing:     N
> Emacs.pane.menubar.Margin: N
> 
> For me,
> 
> Emacs.pane.menubar.horizontalSpacing:   4 
> Emacs.pane.menubar.verticalSpacing:     2
> Emacs.pane.menubar.Margin: 0

Each time I restart Ubuntu linux I have to open a terminal window and type
xrdb -merge $HOME/.Xdefaults else emacs just look as it used to.

Is there someway to make the changes permanent?

Johs

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

end of thread, other threads:[~2004-10-31 13:27 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-30  0:00 Menus to big in emacs JS
2004-10-30  8:01 ` Jochen Küpper
2004-10-30  9:35   ` JS
2004-10-30 11:40     ` Juhapekka Tolvanen
2004-10-30 13:25       ` JS
2004-10-30 13:48         ` Juhapekka Tolvanen
2004-10-30 14:27           ` JS
2004-10-30 15:51             ` Juhapekka Tolvanen
2004-10-30 18:01               ` Floyd L. Davidson
2004-10-30 14:46 ` Shigeki UNO
2004-10-30 15:21   ` JS
2004-10-31 13:27   ` JS
2004-10-31 12:46     ` Juhapekka Tolvanen

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).