bug-recutils
[Top][All Lists]
Advanced

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

[bug-recutils] [bug #53776] “Wrong number of arguments: setq, 1” when sw


From: Tina Russell
Subject: [bug-recutils] [bug #53776] “Wrong number of arguments: setq, 1” when switching to editing mode
Date: Sat, 28 Apr 2018 00:51:08 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:59.0) Gecko/20100101 Firefox/59.0

URL:
  <http://savannah.gnu.org/bugs/?53776>

                 Summary: “Wrong number of arguments: setq, 1” when
switching to editing mode
                 Project: GNU recutils
            Submitted by: tinarussell
            Submitted on: Sat 28 Apr 2018 04:51:07 AM UTC
                Category: rec-mode
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

In navigation mode (after opening a buffer), pressing B (shift-B), instead of
switching to edit mode, displays the error “Wrong number of arguments: setq,
1”.

This happened after I made my first recfile, and populated it with one
placeholder entry to see if it works. (It’s attached.) The next time I
opened Emacs, I opened the file again, and it was now in navigation mode (as
is the default when opening a non-empty recfile, I understand). Wishing to
edit the buffer, I pressed B, and the error happened.

I did some debugging: the problem lies with the function
“rec-remove-continuation-line-marker-overlays” (rec-mode.el:988). The
“mapc” sexp returns nil, while the following “setq” sexp raises the
error.


(defun rec-remove-continuation-line-marker-overlays ()
  "Delete all the continuation line markers overlays."
  (mapc 'delete-overlay rec-continuation-line-markers-overlays)
  (setq rec-continuation-line-markers-overlays))




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 28 Apr 2018 04:51:07 AM UTC  Name: books.rec  Size: 272B   By:
tinarussell

<http://savannah.gnu.org/bugs/download.php?file_id=44053>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53776>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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