From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Rose Newsgroups: gmane.emacs.devel Subject: Re: find-file: strange behaviour Date: Fri, 14 Mar 2008 12:21:12 +0100 Message-ID: <47DA5FA8.9040900@gmx.de> References: <47D9AA98.7050804@gmx.de> <8763vpmxh1.fsf@bzg.ath.cx> Reply-To: sebastian_rose@gmx.de NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------040206040407070305090208" X-Trace: ger.gmane.org 1205493637 7420 80.91.229.12 (14 Mar 2008 11:20:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 11:20:37 +0000 (UTC) To: "[emacs.devel]" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 14 12:21:06 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Ja7yC-0004iE-0z for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 12:21:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ja7xc-0002x7-QW for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 07:20:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ja7xY-0002uV-4A for emacs-devel@gnu.org; Fri, 14 Mar 2008 07:20:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ja7xW-0002tq-IB for emacs-devel@gnu.org; Fri, 14 Mar 2008 07:20:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ja7xW-0002tc-Df for emacs-devel@gnu.org; Fri, 14 Mar 2008 07:20:22 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Ja7xV-0000q3-Vf for emacs-devel@gnu.org; Fri, 14 Mar 2008 07:20:22 -0400 Original-Received: (qmail invoked by alias); 14 Mar 2008 11:20:19 -0000 Original-Received: from unknown (EHLO [10.161.118.252]) [212.23.103.92] by mail.gmx.net (mp026) with SMTP; 14 Mar 2008 12:20:19 +0100 X-Authenticated: #8529601 X-Provags-ID: V01U2FsdGVkX1+peRpwLhip7bYRUW30A1LmK/5gTwTpwqYHKUpBKC yjModuiFLVGLwm User-Agent: Mozilla-Thunderbird 2.0.0.9 (X11/20080110) In-Reply-To: <8763vpmxh1.fsf@bzg.ath.cx> X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92527 Archived-At: This is a multi-part message in MIME format. --------------040206040407070305090208 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Bastien schrieb: > Sebastian Rose 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 --------------040206040407070305090208 Content-Type: text/x-vcard; charset=utf-8; name="sebastian_rose.vcf" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="sebastian_rose.vcf" YmVnaW46dmNhcmQNCmZuOlNlYmFzdGlhbiBSb3NlDQpuOlJvc2U7U2ViYXN0aWFuDQplbWFp bDtpbnRlcm5ldDpzZWJhc3RpYW5fcm9zZUBnbXguZGUNCnRpdGxlOkZhY2hpbmZvcm1hdGlr ZXIvQW53ZW5kZW5kdW5nc2VudHdpY2tsdW5nDQp0ZWw7Y2VsbDorNDkgMTczIC8gODMgOTMg NDE3DQpub3RlO3F1b3RlZC1wcmludGFibGU6RW50d2lja2x1bmcgIHZvbiBJbnRlcm5ldGFu d2VuZHVuZ2VuIHVuZCBQcm9ncmFtbWVuICBtaXQgIGZyZWllbiAgV2Vya3pldT0NCglnZW4g IHVuZCBCaWJsaW90aGVrZW4uPTBEPTBBPQ0KCT0wRD0wQT0NCglQSFAsIEphdmEsIEMvQysr LCAgQmFzaCwgIFBlcmwsICBBcGFjaGUsIE15U1FMLCAgUG9zdGdyZVNRTCwgeHQ6OmNvbW1l cmNlPQ0KCSwgVHlwbzMsIFNlcnZlciwgIE5ldHp3ZXJrLCAgRGVza3RvcCwgRGF0ZW5iYW5r LCBndGttbT0wRD0wQT0NCgkNCngtbW96aWxsYS1odG1sOkZBTFNFDQp2ZXJzaW9uOjIuMQ0K ZW5kOnZjYXJkDQoNCg== --------------040206040407070305090208--