[Top][All Lists]

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

Re: [bug-recutils] [PATCH] rec-mode: fix error when saving a newly creat

From: Jose E. Marchesi
Subject: Re: [bug-recutils] [PATCH] rec-mode: fix error when saving a newly created file
Date: Mon, 09 Apr 2012 14:07:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Hi Daiki.
    Perhaps this is the same issue as TODO 14.  I get a "Wrong type
    argument: number-or-marker-p, nil" error, when I open a non-existing
    file and finish editing.  In that case, an erroneous value is set to
    ((descriptor error: #<marker in no buffer>)
     (descriptor cannot #<marker in no buffer>)
     (descriptor read #<marker in no buffer>)
     (descriptor file #<marker in no buffer>)
     (descriptor /home/ueno/recutils/foo\.rec #<marker in no buffer>))
    So I guess this could be fixed by feeding data to recinf from the buffer
    instead of the file.

Sounds like the proper approach :)

The emacs-mode for recfiles needs a lot of love... most of it was
written even before librec even existed, and it is still not clear to me
what would be the best kind of interface for editing/navigating recfiles
in Emacs.
I just applied your patch.  Many thanks! :)

Jose E. Marchesi         http://www.jemarch.net
GNU Project              http://www.gnu.org

reply via email to

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