* using Xresources for geometry @ 2005-08-27 9:17 Baloff 2005-08-27 11:18 ` Angelina Carlton ` (2 more replies) 0 siblings, 3 replies; 14+ messages in thread From: Baloff @ 2005-08-27 9:17 UTC (permalink / raw) Hello in my Xresources I have emacs*Background: Black emacs*Foreground: White emacs*pointerColor: White emacs*cursorColor: White emacs*bitmapIcon: on emacs*font: fixed emacs*geometry: 160x80 the last line I changed from 80x40 but no changes happened when I restarted emacs. isn't suppose to work? nothing in my .emacs which has to do with (setq initial-frame-alist ... thanks ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: using Xresources for geometry 2005-08-27 9:17 using Xresources for geometry Baloff @ 2005-08-27 11:18 ` Angelina Carlton 2005-08-27 18:18 ` Henrik Enberg [not found] ` <mailman.5215.1125143063.20277.help-gnu-emacs@gnu.org> 2005-08-30 8:21 ` Tim X 2 siblings, 1 reply; 14+ messages in thread From: Angelina Carlton @ 2005-08-27 11:18 UTC (permalink / raw) Baloff <washdc@wash.edu> writes: > > the last line I changed from 80x40 but no changes happened when I > restarted emacs. Xresources is read once when you log into X. Log in again to reread that file. -- -----Angelina Carlton----- orchid on irc.freenode.net brat@magma.ca web:bzgirl.bakadigital.com -------------------------- ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: using Xresources for geometry 2005-08-27 11:18 ` Angelina Carlton @ 2005-08-27 18:18 ` Henrik Enberg 0 siblings, 0 replies; 14+ messages in thread From: Henrik Enberg @ 2005-08-27 18:18 UTC (permalink / raw) > From: Angelina Carlton <brat@magma.ca> > Date: Sat, 27 Aug 2005 07:18:42 -0400 > > Baloff <washdc@wash.edu> writes: > > > > the last line I changed from 80x40 but no changes happened when I > > restarted emacs. > > Xresources is read once when you log into X. > Log in again to reread that file. One can run 'xrdb -merge ~/.Xresources' to add the changed resources to the running X session. ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <mailman.5215.1125143063.20277.help-gnu-emacs@gnu.org>]
* Re: using Xresources for geometry [not found] ` <mailman.5215.1125143063.20277.help-gnu-emacs@gnu.org> @ 2005-08-28 5:30 ` Baloff 2005-08-29 15:49 ` Drew Adams 2005-08-30 8:22 ` Tim X 1 sibling, 1 reply; 14+ messages in thread From: Baloff @ 2005-08-28 5:30 UTC (permalink / raw) Angelina Carlton <brat@magma.ca> writes: > Baloff <washdc@wash.edu> writes: > > > > > the last line I changed from 80x40 but no changes happened when I > > restarted emacs. > > Xresources is read once when you log into X. > Log in again to reread that file. > -- > -----Angelina Carlton----- > orchid on irc.freenode.net > brat@magma.ca > web:bzgirl.bakadigital.com > -------------------------- I am trying to move those functionality from Xresources to .emacs, those are I managed to put in my .emacs the following ************************************************************ (setq initial-frame-alist '((top . 10)(left . 30) (width . 90)(height . 50))) (setq default-frame-alist '((width . 80)(height . 45))) ************************************************************ but don't know how to do the rest of the options in the Xresources file which are emacs*Background: Black emacs*Foreground: White emacs*pointerColor: White emacs*cursorColor: White emacs*bitmapIcon: on emacs*font: fixed and then increase the size of the font because it is too small. any help is welcomed thanks ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: using Xresources for geometry 2005-08-28 5:30 ` Baloff @ 2005-08-29 15:49 ` Drew Adams 2005-08-30 9:18 ` Ismael Valladolid Torres 0 siblings, 1 reply; 14+ messages in thread From: Drew Adams @ 2005-08-29 15:49 UTC (permalink / raw) don't know how to do the rest of the options in the Xresources file which are emacs*Background: Black emacs*Foreground: White emacs*pointerColor: White emacs*cursorColor: White emacs*bitmapIcon: on emacs*font: fixed and then increase the size of the font because it is too small. any help is welcomed 1. http://www.emacswiki.org/cgi-bin/wiki/SiteMap, then Search for: - font (or zoom) - see, e.g., page SetFonts - background (or foreground) - see, e.g., HowtoChangeFrameColors - pointer - see, e.g., PointerShape 2. `M-x apropos RET cursor' (or whatever) - see, e.g., `cursor-color' and `cursor' face. 3. Use `M-x grep' to search the Emacs-distribution lisp directory on your machine - e.g. `M-x grep RET cursor'. 4. Search the Emacs Lisp manual. You get *one* more *free* question of this sort ;-). Fledgling, no more. ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: using Xresources for geometry 2005-08-29 15:49 ` Drew Adams @ 2005-08-30 9:18 ` Ismael Valladolid Torres 2005-08-30 13:34 ` Drew Adams 0 siblings, 1 reply; 14+ messages in thread From: Ismael Valladolid Torres @ 2005-08-30 9:18 UTC (permalink / raw) Drew Adams escribe: > don't know how to do the rest of the options in the Xresources > file which are > > emacs*Background: Black > emacs*Foreground: White > emacs*pointerColor: White > emacs*cursorColor: White > emacs*bitmapIcon: on > emacs*font: fixed > > and then increase the size of the font because it is too small. > any help is welcomed You can go for setting default-frame-alist instead. I do it instead of setting Xresources, so my dotemacs is portable to NT Emacs, where no Xresources are available. Cordially, Ismael ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: using Xresources for geometry 2005-08-30 9:18 ` Ismael Valladolid Torres @ 2005-08-30 13:34 ` Drew Adams 0 siblings, 0 replies; 14+ messages in thread From: Drew Adams @ 2005-08-30 13:34 UTC (permalink / raw) Drew Adams escribe: > don't know how to do the rest of the options in the Xresources > file which are > emacs*Background: Black > emacs*Foreground: White ... The attribution is incorrect. I did not write that; I quoted it. - Drew ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: using Xresources for geometry [not found] ` <mailman.5215.1125143063.20277.help-gnu-emacs@gnu.org> 2005-08-28 5:30 ` Baloff @ 2005-08-30 8:22 ` Tim X 1 sibling, 0 replies; 14+ messages in thread From: Tim X @ 2005-08-30 8:22 UTC (permalink / raw) Angelina Carlton <brat@magma.ca> writes: > Baloff <washdc@wash.edu> writes: > > > > the last line I changed from 80x40 but no changes happened when I > > restarted emacs. > > Xresources is read once when you log into X. > Log in again to reread that file. > -- Or just run xrdb from an xterm with the load or merge option and you don't have to log out and back in again. handy if you have a complex X session running. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out! ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: using Xresources for geometry 2005-08-27 9:17 using Xresources for geometry Baloff 2005-08-27 11:18 ` Angelina Carlton [not found] ` <mailman.5215.1125143063.20277.help-gnu-emacs@gnu.org> @ 2005-08-30 8:21 ` Tim X 2005-09-01 13:48 ` Baloff 2 siblings, 1 reply; 14+ messages in thread From: Tim X @ 2005-08-30 8:21 UTC (permalink / raw) Baloff <washdc@wash.edu> writes: > Hello > in my Xresources I have > > emacs*Background: Black > emacs*Foreground: White > emacs*pointerColor: White > emacs*cursorColor: White > emacs*bitmapIcon: on > emacs*font: fixed > emacs*geometry: 160x80 > > the last line I changed from 80x40 but no changes happened when I > restarted emacs. > > isn't suppose to work? > nothing in my .emacs which has to do with (setq initial-frame-alist What window manager are you using? some window managers will "remember" the last size you had emacs set to and will restore that and override any geometry setting. In particular, I've been bitten by this in the past with (I think) gnome+sawfish and KDE. Tim -- Tim Cross The e-mail address on this message is FALSE (obviously!). My real e-mail is to a company in Australia called rapttech and my login is tcross - if you really need to send mail, you should be able to work it out! ^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: using Xresources for geometry 2005-08-30 8:21 ` Tim X @ 2005-09-01 13:48 ` Baloff 0 siblings, 0 replies; 14+ messages in thread From: Baloff @ 2005-09-01 13:48 UTC (permalink / raw) Tim X <timx@spamto.devnul.com> writes: > Baloff <washdc@wash.edu> writes: > > > Hello > > in my Xresources I have > > > > emacs*Background: Black > > emacs*Foreground: White > > emacs*pointerColor: White > > emacs*cursorColor: White > > emacs*bitmapIcon: on > > emacs*font: fixed > > emacs*geometry: 160x80 > > > > the last line I changed from 80x40 but no changes happened when I > > restarted emacs. > > > > isn't suppose to work? > > nothing in my .emacs which has to do with (setq initial-frame-alist > > What window manager are you using? some window managers will > "remember" the last size you had emacs set to and will restore that > and override any geometry setting. In particular, I've been bitten by > this in the past with (I think) gnome+sawfish and KDE. > > Tim > > > -- > Tim Cross > The e-mail address on this message is FALSE (obviously!). My real e-mail is > to a company in Australia called rapttech and my login is tcross - if you > really need to send mail, you should be able to work it out! gnome 2.6.1 I read this in the documentation C-h v initial-frame-alist **************************************** * Specify X resources to give the geometry you want. * Set `default-frame-alist' to override these options so that they don't affect subsequent frames. * Set `initial-frame-alist' in a way that matches the X resources, to override what you put in `default-frame-alist'. **************************************** well, I have the following .Xresources****************************** emacs*height: 70 emacs*width: 180 emacs*top: 1 emacs*left: 1 the last lines in my .emacs are **************************************** ;;these lines should be at the end of this file (setq initial-frame-alist '((top . 1)(left . 1) (width . 180)(height . 70))) (setq default-frame-alist '((width . 180)(height . 70))) > LocalWords: alist setq ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <mailman.5379.1125330936.20277.help-gnu-emacs@gnu.org>]
* Re: using Xresources for geometry [not found] <mailman.5379.1125330936.20277.help-gnu-emacs@gnu.org> @ 2005-09-01 14:50 ` Ballof 2005-09-01 16:49 ` Drew Adams 0 siblings, 1 reply; 14+ messages in thread From: Ballof @ 2005-09-01 14:50 UTC (permalink / raw) "Drew Adams" <drew.adams@oracle.com> writes: > don't know how to do the rest of the options in the Xresources > file which are > > emacs*Background: Black > emacs*Foreground: White > emacs*pointerColor: White > emacs*cursorColor: White > emacs*bitmapIcon: on > emacs*font: fixed > > and then increase the size of the font because it is too small. > any help is welcomed > > 1. http://www.emacswiki.org/cgi-bin/wiki/SiteMap, then Search for: > > - font (or zoom) - see, e.g., page SetFonts > - background (or foreground) - see, e.g., HowtoChangeFrameColors > - pointer - see, e.g., PointerShape > > 2. `M-x apropos RET cursor' (or whatever) - see, e.g., `cursor-color' and > `cursor' face. > > 3. Use `M-x grep' to search the Emacs-distribution lisp directory on your > machine - e.g. `M-x grep RET cursor'. > > 4. Search the Emacs Lisp manual. > > > You get *one* more *free* question of this sort ;-). Fledgling, no more. I got the doremi-frm.el from http://www.emacswiki.org/cgi-bin/emacs/doremi-frm.el by clicking on the download, which opened a new page with the file in it, then I copy and past into the scratch buffer, saved it in /usr/share/emacs/site-lisp/doremi-frm.el, put (require 'doremi-frm) in the first line of my .emacs M-x load-file ~/.emacs cann't open load file: doremi did I do something wrong? ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: using Xresources for geometry 2005-09-01 14:50 ` Ballof @ 2005-09-01 16:49 ` Drew Adams 0 siblings, 0 replies; 14+ messages in thread From: Drew Adams @ 2005-09-01 16:49 UTC (permalink / raw) I got the doremi-frm.el from http://www.emacswiki.org/cgi-bin/emacs/doremi-frm.el by clicking on the download, which opened a new page with the file in it, then I copy and past into the scratch buffer, saved it in /usr/share/emacs/site-lisp/doremi-frm.el, put (require 'doremi-frm) in the first line of my .emacs M-x load-file ~/.emacs cann't open load file: doremi did I do something wrong? No, you did everything right. But not enough. Emacs-Lisp libraries often require other libraries. In this case, `doremi-frm.el' requires `doremi.el'. In fact, it also requires other libraries, besides `doremi.el'. You will see this comment in doremi-frm.el: ;; Library `doremi-frm' requires these libraries: ;; ;; `avoid', `doremi', `faces', `faces+', `frame-cmds', `frame-fns', ;; `hexrgb', `icomplete', `icomplete+', `misc-fns', `mwheel', `ring', ;; `ring+', `strings', `thingatpt', `thingatpt+'. Not all of those libraries are absolutely required, however. To determine what you absolutely need: - Look for `(require...)' in doremi-frm.el. - Load those files. - Look in those files for `(require...)'. - Etc. Any `(require...)' of this form: (require 'something nil t) is *optional* - the library is not absolutely required. It is the third arg `t' that signals this. In `doremi-frm.el', for example you see this: (require 'doremi) (require 'hexrgb) (require 'ring+) (require 'frame-fns) (require 'faces+) (require 'frame-cmds nil t) (unless (fboundp 'read-number)(require 'strings nil t)) (eval-when-compile (require 'cl)) The first group of `require's are mandatory, for `doremi-frm.el' to work. The second group (frame-cmds, strings) are optional. Both of these groups are my libraries - they are not included with standard Emacs. So, you will need to download all libraries in the first group, for `doremi-frm.el' to work. (And some of those libraries might require you to download other libraries.) You do not need to download `frame-cmds.el' or `strings.el'. The last `require' is a compile-time-only require, and library `cl.el' is a standard Emacs library, so you do not need to download anything for this dependency. HTH. ^ permalink raw reply [flat|nested] 14+ messages in thread
[parent not found: <mailman.5717.1125593848.20277.help-gnu-emacs@gnu.org>]
* Re: using Xresources for geometry [not found] <mailman.5717.1125593848.20277.help-gnu-emacs@gnu.org> @ 2005-09-05 19:52 ` Baloff 2005-09-06 14:47 ` Drew Adams 0 siblings, 1 reply; 14+ messages in thread From: Baloff @ 2005-09-05 19:52 UTC (permalink / raw) "Drew Adams" <drew.adams@oracle.com> writes: > I got the doremi-frm.el from > http://www.emacswiki.org/cgi-bin/emacs/doremi-frm.el by > clicking on the download, which opened a new page with the file in it, > then I copy and past into the scratch buffer, saved it in > /usr/share/emacs/site-lisp/doremi-frm.el, put (require 'doremi-frm) > in the first line of my .emacs > > M-x load-file ~/.emacs cann't open load file: doremi > did I do something wrong? > > No, you did everything right. But not enough. Emacs-Lisp libraries often > require other libraries. In this case, `doremi-frm.el' requires `doremi.el'. > In fact, it also requires other libraries, besides `doremi.el'. > > You will see this comment in doremi-frm.el: > > ;; Library `doremi-frm' requires these libraries: > ;; > ;; `avoid', `doremi', `faces', `faces+', `frame-cmds', `frame-fns', > ;; `hexrgb', `icomplete', `icomplete+', `misc-fns', `mwheel', `ring', > ;; `ring+', `strings', `thingatpt', `thingatpt+'. > > Not all of those libraries are absolutely required, however. To determine > what you absolutely need: > > - Look for `(require...)' in doremi-frm.el. > - Load those files. > - Look in those files for `(require...)'. > - Etc. > > Any `(require...)' of this form: (require 'something nil t) is *optional* - > the library is not absolutely required. It is the third arg `t' that signals > this. > > In `doremi-frm.el', for example you see this: > > (require 'doremi) > (require 'hexrgb) > (require 'ring+) > (require 'frame-fns) > (require 'faces+) > > (require 'frame-cmds nil t) > (unless (fboundp 'read-number)(require 'strings nil t)) > > (eval-when-compile (require 'cl)) > > The first group of `require's are mandatory, for `doremi-frm.el' to work. > > The second group (frame-cmds, strings) are optional. > > Both of these groups are my libraries - they are not included with standard > Emacs. So, you will need to download all libraries in the first group, for > `doremi-frm.el' to work. (And some of those libraries might require you to > download other libraries.) You do not need to download `frame-cmds.el' or > `strings.el'. > > The last `require' is a compile-time-only require, and library `cl.el' is a > standard Emacs library, so you do not need to download anything for this > dependency. > > HTH. thanks, is there a way to automate the handling of all those dependencies so that I don't have to do it by hand? ^ permalink raw reply [flat|nested] 14+ messages in thread
* RE: using Xresources for geometry 2005-09-05 19:52 ` Baloff @ 2005-09-06 14:47 ` Drew Adams 0 siblings, 0 replies; 14+ messages in thread From: Drew Adams @ 2005-09-06 14:47 UTC (permalink / raw) is there a way to automate the handling of all those [library] dependencies so that I don't have to do it by hand? Don't have to what by hand? Put all of the libraries in a directory that is in your load-path, then load the library (doremi-frm.el) that is at the root of the dependency tree. What is so hard about that? You don't have to think about it - just put all the libraries in a sack and pull the root library (doremi-frm.el) out of the sack; everything else will follow, hanging on. --- BTW, you might be interested in library `lib-requires.el' (http://www.emacswiki.org/cgi-bin/wiki/lib-requires.el), which provides these commands for keeping track of library dependencies: - lib-requires-tree: The libraries (files or features) `require'd by LIBRARY, as a tree. - lib-requires: The libraries ultimately `require'd by LIBRARY, as a flat list. - insert-lib-requires-as-comment: Insert a comment listing all libraries ultimately required by LIBRARY. In particular, you can use `lib-requires-tree' to see which libraries require which libraries. However, these commands work by *loading* all of the required libraries, so they won't help you if the libraries are not available in your load-path. One limitation, unfortunately, is that these commands cannot distinguish between "hard" and "soft" `require's - because Emacs does not record the distinction. A "soft" `require' is one with a non-nil third argument: the "required" library is in fact *optional*. These commands treat all `require'd libraries as "required" libraries - so they are overly conservative. But they can still help you understand what's going on. ^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2005-09-06 14:47 UTC | newest] Thread overview: 14+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2005-08-27 9:17 using Xresources for geometry Baloff 2005-08-27 11:18 ` Angelina Carlton 2005-08-27 18:18 ` Henrik Enberg [not found] ` <mailman.5215.1125143063.20277.help-gnu-emacs@gnu.org> 2005-08-28 5:30 ` Baloff 2005-08-29 15:49 ` Drew Adams 2005-08-30 9:18 ` Ismael Valladolid Torres 2005-08-30 13:34 ` Drew Adams 2005-08-30 8:22 ` Tim X 2005-08-30 8:21 ` Tim X 2005-09-01 13:48 ` Baloff [not found] <mailman.5379.1125330936.20277.help-gnu-emacs@gnu.org> 2005-09-01 14:50 ` Ballof 2005-09-01 16:49 ` Drew Adams [not found] <mailman.5717.1125593848.20277.help-gnu-emacs@gnu.org> 2005-09-05 19:52 ` Baloff 2005-09-06 14:47 ` Drew Adams
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.