bugGNU recutils - Bugs: bug #53776, “Wrong number of arguments:...

 
 

bug #53776: “Wrong number of arguments: setq, 1” when switching to editing mode

Submitter:  Tina Russell <tinarussell>
Submitted:  Sat 28 Apr 2018 04:51:07 AM UTC
   
 
Category:  rec-mode Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 07 Jan 2019 05:58:11 PM UTC, comment #2: 

Thanks for the bug report.  This has been indeed fixed in the recently released 1.8.

Jose E. Marchesi <jemarch>
Group administrator
Sat 28 Apr 2018 05:29:48 AM UTC, comment #1: 

It seems this bug is fixed as of 1.7.90. The Ubuntu repositories still only have 1.7, which is why I encountered the bug in the first place. (I’m unable to fulfill the build dependencies—at least, according to “apt build-dep recutils”—so I solved this problem crudely, by downloading the tarball and copying, with sudo, the two “etc/*.el” files into “usr/share/emacs/site-lisp”. Now I can switch between navigation and edit mode just fine, it seems.)

Tina Russell <tinarussell>
Sat 28 Apr 2018 04:51:07 AM UTC, original submission:  

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))


Tina Russell <tinarussell>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #44053:  books.rec added by tinarussell (272B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jemarch (Posted a comment)
  • -email is unavailable- added by tinarussell (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-01-07 jemarch StatusNone Fixed
        Open/ClosedOpen Closed
    2018-04-28 tinarussell Attached File- Added books.rec, #44053

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code