🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189625

need initial mark in buffer

#189625
From: Mattias Waldau
Date: Sun, 16 Dec 1990 20:30
15 lines
1147 bytes
I have a custom mode and I need an initial mark in the buffer. The
position of the mark is irrelevant. However, it doesn't help to put
(set-mark (point)) last in my XXX-mode command. Somehow it gets lost
during the initialization of the local variables that occurs in the
end of the buffer.

How should I do?

P.s. Why doesn't write-file call reset write-file-hooks? Shouldn't
write-file call after-find-file, or at least reset the mode to
fundamental?
--
Mattias Waldau                              
Computing Science Department                mattias@emil.csd.uu.se
P.O. Box 520, S-751 20  Uppsala, Sweden     Phone: +46-18-181055
Technical Details
Message-ID: <MATTIAS.90Dec16213024@brigitte.csd.uu.se>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!kuling!kuling.docs.uu.se!mattias

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,605feabaf9e0d342,start
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1990-12-16 12:30:24 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!sunic!kuling!kuling.docs.uu.se!mattias
From: mattias@brigitte.csd.uu.se (Mattias Waldau)
Newsgroups: gnu.emacs.help
Subject: need initial mark in buffer
Message-ID: <MATTIAS.90Dec16213024@brigitte.csd.uu.se>
Date: 16 Dec 90 20:30:24 GMT
Sender: news@kuling.UUCP
Organization: csd
Lines: 15