From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: Magit reports binary files that don't exist Date: Sat, 23 Aug 2014 23:31:40 +0200 Message-ID: <87d2bqriyr.fsf@gmail.com> References: <878umg7opp.fsf@gmail.com> <87ppfsbpx0.fsf@wanadoo.es> <87r40861f7.fsf@gmail.com> <87lhqgbmsr.fsf@wanadoo.es> <87lhqga4r0.fsf@gmail.com> <87d2bsa3v5.fsf@gmail.com> <87r4085n51.fsf@geodiff-mac3.ulb.ac.be> <87zjew9o0g.fsf@gmail.com> <87ha135s00.fsf@geodiff-mac3.ulb.ac.be> <87d2br1jev.fsf@gmail.com> <87tx53kkkv.fsf@geodiff-mac3.ulb.ac.be> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1408829544 17011 80.91.229.3 (23 Aug 2014 21:32:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Aug 2014 21:32:24 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 23 23:32:18 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XLIv4-00050J-Ab for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Aug 2014 23:32:18 +0200 Original-Received: from localhost ([::1]:42289 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLIv3-00038Q-TB for geh-help-gnu-emacs@m.gmane.org; Sat, 23 Aug 2014 17:32:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLIup-00038L-0G for help-gnu-emacs@gnu.org; Sat, 23 Aug 2014 17:32:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XLIuj-0003p6-Tz for help-gnu-emacs@gnu.org; Sat, 23 Aug 2014 17:32:02 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:60024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XLIuj-0003oz-Mt for help-gnu-emacs@gnu.org; Sat, 23 Aug 2014 17:31:57 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XLIui-0004q3-2e for help-gnu-emacs@gnu.org; Sat, 23 Aug 2014 23:31:56 +0200 Original-Received: from e178063003.adsl.alicedsl.de ([85.178.63.3]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Aug 2014 23:31:56 +0200 Original-Received: from tjolitz by e178063003.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Aug 2014 23:31:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: e178063003.adsl.alicedsl.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:f6QSYVHCUkGXLCLW+BMmrT9gUYU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99375 Archived-At: Nicolas Richard writes: > Thorsten Jolitz writes: >> Nicolas Richard writes: >> >>> Thorsten Jolitz writes: >>>> however I (and even somebody else at that time) tried it on a certain >>>> problem and it was not reliable, only the literal NUL worked >>>> always. >>>> There must be a thread on the Org mailing-list about this. >>> >>> I did not manage to find it (searched for the term "NUL" and your email >>> address on the gmane interface). >> >> Its this thread (you were even involved ;): > > Err, that's embarassing. Thanks for finding it. I don't think so, forgot about it too ... > Re-reading the thread, I don't see where a difference between "\000" and > "" is mentionned. > > I do, however, see some confusion between "\000" (a string of one NUL > char) and "\\000" (a string of 4 chars : backslash, followed by three > 0's), e.g. the regexp "^aPDU[^\\000]+[}]+?$" is mentionned (at > http://lists.gnu.org/archive/html/help-gnu-emacs/2014-04/msg00077.html) > > Perhaps that would explain the oddities ? Yes, thats quite likely, because at that time I just discovered this (most useful) 'regexp trick', and maybe I automatically escaped the backslash at some point without noticing. I switched to the 'Org version' again now (from literal NUL). Its not really such a good idea to have literal NULs in source files ... -- cheers, Thorsten