help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs won't forget file state as saved by desktop.el


From: Faheem Mitha
Subject: emacs won't forget file state as saved by desktop.el
Date: Sun, 29 Dec 2002 05:53:43 -0000
User-agent: slrn/0.9.7.4 (Linux)

Dear People,

I have a relatively minor but incredibly irritating problem. 

I tried enabling desktop.el. It saves the configuration of the files
to .emacs.desktop. In particular it set in .emacs.desktop (for some
reason I'm not sure of) a file called reject1.tex to come up in
fundamental mode and also come up with whizzytex (which I also
installed) enabled. I disabled desktop.el in my .emacs files and
deleted .emacs.desktop and thought that would be the end of the
matter. But unfortunately not. Whenever I open up reject1.tex I get it
in fundamental mode and with whizzytex enabled (so that advi pops
up). It is really starting to annoy me. I can get rid of this
behaviour by removing whizzytex, but it comes back when I reinstall.

I assume there is some config information sitting on my hard drive
that is causing this, either from desktop.el or from whizzytex. No
other latex files behave this way. Ideas?

                                               Faheem.
>From help-gnu-emacs-bounces@gnu.org  Sun Dec 29 04:30:17 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: plampione@yahoo.com (Peter Lampione)
Newsgroups: gnu.emacs.help
Date: 29 Dec 2002 01:26:05 -0800
Organization: http://groups.google.com/
Lines: 23
Message-ID: <b30faff8.0212290126.56381f3@posting.google.com>
References: <b30faff8.0212270100.543e5265@posting.google.com>
        <m3of779xz8.fsf@defun.localdomain>
NNTP-Posting-Host: 63.203.46.196
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1041153965 30358 127.0.0.1 (29 Dec 2002 09:26:05
        GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 29 Dec 2002 09:26:05 GMT
Xref: shelby.stanford.edu gnu.emacs.help:108569
To: help-gnu-emacs@gnu.org
Subject: Re: adding fonts to font menu?
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 29 Dec 2002 09:30:18 -0000

Thanks!

I wasn't able to use add-to-list, so I simply setq'ed 
x-fixed-font-alist to the desired value.  Much better now!

Peter


Jesper Harder <harder@myrealbox.com> wrote in message 
news:<m3of779xz8.fsf@defun.localdomain>...
> plampione@yahoo.com (Peter Lampione) writes:
> 
> > Once one finds nice fonts, how does one add them to the menu that 
> > pops up when pressing shift-leftbutton?
> 
> I think something like this should work:
> 
> (add-to-list 'x-fixed-font-alist 
>            '("My fonts" 
>              ("Andale Mono" 
>               "-monotype-andale 
> mono-medium-r-normal-*-24-*-*-*-m-*-iso8859-1")
>              ("Luxi Mono" 
>               "-b&h-luxi mono-medium-r-normal-*-12-*-*-*-m-*-iso8859-1")) 
>            t)
>From help-gnu-emacs-bounces@gnu.org  Sun Dec 29 05:25:10 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!postnews1.google.com!not-for-mail
From: plampione@yahoo.com (Peter Lampione)
Newsgroups: gnu.emacs.help
Date: 29 Dec 2002 02:22:56 -0800
Organization: http://groups.google.com/
Lines: 10
Message-ID: <b30faff8.0212290222.495687b3@posting.google.com>
NNTP-Posting-Host: 63.203.46.196
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1041157377 1707 127.0.0.1 (29 Dec 2002 10:22:57
        GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 29 Dec 2002 10:22:57 GMT
Xref: shelby.stanford.edu gnu.emacs.help:108570
To: help-gnu-emacs@gnu.org
Subject: emacs font dims in console mode: why? how to avoid?
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 29 Dec 2002 10:25:10 -0000

When I use emacs-21 in console mode, the characters 
appear in half intensity mode, presumably to be able to 
highlight text. 

How do I turn this feature off?  I'd like the "normal 
intensity" (hilight) mode default. 

Thanks, 

Peter
>From help-gnu-emacs-bounces@gnu.org  Sun Dec 29 06:35:18 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!pd951f026.dip.t-dialin.NET!not-for-mail
From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Newsgroups: gnu.emacs.help
Date: Sun, 29 Dec 2002 12:33:53 +0100
Organization: University of Dortmund, Germany
Lines: 15
Message-ID: <84el81xdni.fsf@lucy.cs.uni-dortmund.de>
References: <mailman.676.1041119392.19936.help-gnu-emacs@gnu.org>
NNTP-Posting-Host: pd951f026.dip.t-dialin.net (217.81.240.38)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1041161649 9032517 217.81.240.38 (16 [73968])
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:7kVepZFtpKfhOiLyDsGMQdIhaT4=
Xref: shelby.stanford.edu gnu.emacs.help:108571
To: help-gnu-emacs@gnu.org
Subject: Re: setting site-wide default colors,fonts,... in Emacs
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 29 Dec 2002 11:35:18 -0000

"Frank C. Weiler" <fcweiler@sbcglobal.net> writes:

> I have gone through the documentaiton several times, and am not able
> to locate WHERE the site wide default color scheme and default fonts
> are established for any user.

All X applications use a similar mechanism.  In particular, the
environment variables XUSERFILESEARCHPATH and XFILESEARCHPATH are
evaled.

You could also use strace (or trace or truss or ktrace, depending on
OS) on an invocation of Emacs.  Look for stat or open calls on files
named Emacs (with capital E).
-- 
Ambibibentists unite!
>From help-gnu-emacs-bounces@gnu.org  Sun Dec 29 06:35:19 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!pd951f026.dip.t-dialin.NET!not-for-mail
From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Newsgroups: gnu.emacs.help
Date: Sun, 29 Dec 2002 12:34:51 +0100
Organization: University of Dortmund, Germany
Lines: 15
Message-ID: <84bs35xdlw.fsf@lucy.cs.uni-dortmund.de>
References: <mailman.677.1041122911.19936.help-gnu-emacs@gnu.org>
NNTP-Posting-Host: pd951f026.dip.t-dialin.net (217.81.240.38)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1041161707 9032517 217.81.240.38 (16 [73968])
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:Nfjr7+tcv73EEwg78zDyRjDHXOU=
Xref: shelby.stanford.edu gnu.emacs.help:108572
To: help-gnu-emacs@gnu.org
Subject: Re: filtering output from compile
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 29 Dec 2002 11:35:19 -0000

"Theepa Somasundaram" <theepa@hemphil.f9.co.uk> writes:

> I have a Make file which contains a line like,
>         gdb dummy.exe
> I run the make file from Emacs in compile mode. I would like Emacs
> not to send the command to the shell and instead to execute the
> debugger within Emacs, as if I had started the debugger with a
> shotcut key.

It is not possible for make to talk back to Emacs to do stuff.  So
you will have to circumvent make.

I suggest you try M-x gdb RET.
-- 
Ambibibentists unite!
>From help-gnu-emacs-bounces@gnu.org  Sun Dec 29 06:40:10 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!pd951f026.dip.t-dialin.NET!not-for-mail
From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Newsgroups: gnu.emacs.help
Date: Sun, 29 Dec 2002 12:37:20 +0100
Organization: University of Dortmund, Germany
Lines: 16
Message-ID: <848yy9xdhr.fsf@lucy.cs.uni-dortmund.de>
References: <roy-722F9F.18535425122002@reader1.panix.com>
        <84bs38hj8l.fsf@lucy.cs.uni-dortmund.de>
        <8665tdbr5p.fsf@kronstadt.homeunix.net>
NNTP-Posting-Host: pd951f026.dip.t-dialin.net (217.81.240.38)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1041161856 9032517 217.81.240.38 (16 [73968])
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:LPz8oCfjJ+MMrJzqjydM/86vRQE=
Xref: shelby.stanford.edu gnu.emacs.help:108573
To: help-gnu-emacs@gnu.org
Subject: Re: looping over characters in a string in elisp?
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 29 Dec 2002 11:40:10 -0000

Ian Zimmerman <itz@speakeasy.org> writes:

> Just put "STRINGS ARE ARRAYS" in big fat font at the beginning of the
> Strings section (which precedes the Sequences Arrays Vectors section).

8-)  Actually, the Strings and Characters node starts with

/----
|    A string in Emacs Lisp is an array that contains an ordered sequence
| of characters.
\----

Whee.  Not much that can be improved there, except for the big fat
font...
-- 
Ambibibentists unite!
>From help-gnu-emacs-bounces@gnu.org  Sun Dec 29 06:40:11 2002
Path: 
shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!pd951f026.dip.t-dialin.NET!not-for-mail
From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=)
Newsgroups: gnu.emacs.help
Date: Sun, 29 Dec 2002 12:39:28 +0100
Organization: University of Dortmund, Germany
Lines: 15
Message-ID: <8465tdxde7.fsf@lucy.cs.uni-dortmund.de>
References: <slrnb0t3f5.194.faheem@Chrestomanci.home.earth>
NNTP-Posting-Host: pd951f026.dip.t-dialin.net (217.81.240.38)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: fu-berlin.de 1041161984 9032517 217.81.240.38 (16 [73968])
User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50
 (i686-pc-linux-gnu)
Cancel-Lock: sha1:c4mBSQXYQ6yyJyIqsPWsS8RiezA=
Xref: shelby.stanford.edu gnu.emacs.help:108574
To: help-gnu-emacs@gnu.org
Subject: Re: emacs won't forget file state as saved by desktop.el
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 29 Dec 2002 11:40:11 -0000

Faheem Mitha <faheem@email.unc.edu> writes:

> I disabled desktop.el in my .emacs files and deleted .emacs.desktop
> and thought that would be the end of the matter. But unfortunately
> not. Whenever I open up reject1.tex I get it in fundamental mode and
> with whizzytex enabled (so that advi pops up).

Does the string "-*-" (sans quotes) occur in the first line of the
file?  Do the strings "Local Variables" and "End" (both sans quotes)
occur near the end of the file?

If either, read the section on file variables in the Emacs
documentation. 
-- 
Ambibibentists unite!
>From ehud@unix.mvs.co.il Sun Dec 29 08:46:16 2002
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
        id 18Sdlf-0005IY-00
        for help-gnu-emacs@gnu.org; Sun, 29 Dec 2002 08:46:15 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
        id 18Sdld-0005HP-00
        for help-gnu-emacs@gnu.org; Sun, 29 Dec 2002 08:46:14 -0500
Received: from unix.sw.co.il ([192.114.178.12] helo=unix.mvs.co.il)
        by monty-python.gnu.org with esmtp (Exim 4.10.13)
        id 18Sdlc-0005Ck-00
        for help-gnu-emacs@gnu.org; Sun, 29 Dec 2002 08:46:12 -0500
Received: from beta.mvs.co.il (beta [10.253.0.3])
        by unix.mvs.co.il (8.11.6/8.11.6) with ESMTP id gBTDjlh00689;
        Sun, 29 Dec 2002 15:45:47 +0200
Received: from beta.mvs.co.il (localhost [127.0.0.1])
        by beta.mvs.co.il (8.12.5/8.12.5) with ESMTP id gBTDjjed007114;
        Sun, 29 Dec 2002 15:45:45 +0200
Received: (from ehud@localhost)
        by beta.mvs.co.il (8.12.5/8.12.5/Submit) id gBTDjhRF007108;
        Sun, 29 Dec 2002 15:45:43 +0200
Date: Sun, 29 Dec 2002 15:45:43 +0200
Message-Id: <200212291345.gBTDjhRF007108@beta.mvs.co.il>
X-Authentication-Warning: beta.mvs.co.il: ehud set sender to
        ehud@unix.mvs.co.il using -f
From: "Ehud Karni" <ehud@unix.mvs.co.il>
To: kai.grossjohann@uni-duisburg.de,
   " Frank C. Weiler" <fcweiler@sbcglobal.net>
In-reply-to: <84el81xdni.fsf@lucy.cs.uni-dortmund.de>
        (kai.grossjohann@uni-duisburg.de)
Organization: Mivtach-Simon Insurance agencies
References: <mailman.676.1041119392.19936.help-gnu-emacs@gnu.org>
        <84el81xdni.fsf@lucy.cs.uni-dortmund.de>
X-Mailer: Emacs 21.2.91.3 rmail (send-msg 1.106)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-8
Content-Transfer-Encoding: 7bit
cc: help-gnu-emacs@gnu.org
Subject: Re: setting site-wide default colors,fonts,... in Emacs
X-BeenThere: help-gnu-emacs@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: ehud@unix.mvs.co.il
List-Id: Users list for the GNU Emacs text editor <help-gnu-emacs.gnu.org>
List-Help: <mailto:help-gnu-emacs-request@gnu.org?subject=help>
List-Post: <mailto:help-gnu-emacs@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/help-gnu-emacs>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/help-gnu-emacs>,
        <mailto:help-gnu-emacs-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 29 Dec 2002 13:46:17 -0000

On Sun, 29 Dec 2002 12:33:53 +0100, kai.grossjohann@uni-duisburg.de (Kai 
=?iso-8859-1?q?Gro=DFjohann?=) wrote:
> 
> "Frank C. Weiler" <fcweiler@sbcglobal.net> writes:
> 
> > I have gone through the documentaiton several times, and am not able
> > to locate WHERE the site wide default color scheme and default fonts
> > are established for any user.

If you settle for changing the defaults by lisp (like I do) you can do
it by creating a `default.el' or `site-start.el' in your site-lisp 
directory, and putting your elisp commands there. Check your       
`load-path' variable for the exact directory on your system (usually
it is the 1st directory in `load-path').

See the node "The Init File, `~/.emacs'" in the Emacs info for more
information.

Ehud.


-- 
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 mailto:ehud@unix.mvs.co.il                  Better  Safe  Than  Sorry



reply via email to

[Prev in Thread] Current Thread [Next in Thread]