From: Sebastian Rose <sebastian_rose@gmx.de>
To: "[emacs.devel]" <emacs-devel@gnu.org>
Subject: Re: find-file: strange behaviour
Date: Fri, 14 Mar 2008 12:21:12 +0100 [thread overview]
Message-ID: <47DA5FA8.9040900@gmx.de> (raw)
In-Reply-To: <8763vpmxh1.fsf@bzg.ath.cx>
[-- Attachment #1: Type: text/plain, Size: 2312 bytes --]
Bastien schrieb:
> Sebastian Rose <sebastian_rose@gmx.de> writes:
>
>> I'm running emacs 23.0.60.2 from last week here. Since that I noticed
>> some strange behaviour when trying to open a file by C-x C-f.
>
> What if you check with a clean emacs -Q ? Does the error disappear?
>
> I guess the problem comes from one of the function in `find-file-hook'.
> Can you see anything suspicious here?
I wrote to emacs.devel too - maybe they know what's wrong / changed in
subsystem of emacs. I found that 'find-file' does not work sometimes
(first attempt in a session - subsequent attempts succeed).
>> emacs opens a second window, 5 lines high only, on the bottom of
>> frame. In that window I see an other file that was opened on start up
>> (I use desktop).
>
> Is the error still here without desktop?
>
Hmmm.... there where some desktop related problems discussed on
emacs.devel (desktop file not read to the end or something). This is a
candidate since sometimes on start the window is not split korrektly
(50%/50%) as it did before when loading more than one file by desktop.
Starting emacs without desktop with more than one file as argument
splits the window as expected. So this is definitively desktop related.
>> case 2 (this one is worth):
>
> (You mean "worse", right? :)
>
>> If I export an *.org file sometimes an arbitrary existing file is
>> overwritten! Same as above, first attempt in session, subsequent
>> attempts succeed.
>
> You export with C-c C-e h, right? Or via org-publish.el?
>
>> I suspect emacs though, since I deleted all lisp files on my machine
>> before installing. I used emacs 22 before (the current Debian testing
>> package). I searched the mailinglist for something on this but to no
>> avail.
>
> I suspect something weirdness with related to your `desktop' or
> `session' customization, or maybe some function in find-file-hook.
>
> Can you try to narrow this problem with that directions?
>
Currently trying by erasing all custom customizations from init files
(aaahhh, thanks, -Q does that! Great!). But it will take a week or so,
since the problem doesn't show up regularly but rather from time to time.
I put
(setq debug-on-error t)
in my .emacs.
I will have to document the incidents to find out more too.
Regards,
Sebastian
[-- Attachment #2: sebastian_rose.vcf --]
[-- Type: text/x-vcard, Size: 499 bytes --]
begin:vcard
fn:Sebastian Rose
n:Rose;Sebastian
email;internet:sebastian_rose@gmx.de
title:Fachinformatiker/Anwendendungsentwicklung
tel;cell:+49 173 / 83 93 417
note;quoted-printable:Entwicklung von Internetanwendungen und Programmen mit freien Werkzeu=
gen und Bibliotheken.=0D=0A=
=0D=0A=
PHP, Java, C/C++, Bash, Perl, Apache, MySQL, PostgreSQL, xt::commerce=
, Typo3, Server, Netzwerk, Desktop, Datenbank, gtkmm=0D=0A=
x-mozilla-html:FALSE
version:2.1
end:vcard
prev parent reply other threads:[~2008-03-14 11:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-13 22:28 find-file: strange behaviour Sebastian Rose
2008-03-14 10:06 ` Bastien
2008-03-14 11:21 ` Sebastian Rose [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47DA5FA8.9040900@gmx.de \
--to=sebastian_rose@gmx.de \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).