help-gnu-emacs
[Top][All Lists]
Advanced

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

elisp Wrong type argument: integer-or-marker-p error


From: acomber
Subject: elisp Wrong type argument: integer-or-marker-p error
Date: Fri, 12 Apr 2013 12:43:03 -0700 (PDT)

I have the text below (with actual tabs in instead of \t) and I need to get
to just after the tab after "Description" and grab all the text until the
end of the buffer.


    key1\tval1          
    key2\tval2
    key3\tval3          
    Description\tlots and lots and lots and lots and lots lots 
    and lots and lots and lots and lots lots and lots and lots and 
    lots and lots lots and lots and lots and lots and lots lots and 
    
    lots lots and lots and lots and lots and lots lots and lots lots 
    
    and lots and lots and lots and lots lots and lots lots and lots 
    
    and lots and lots and lots lots and lots lots and lots and lots 
    and lots and lots lots and lots lots and lots and lots and lots 
    and lots lots and lots lots and lots and lots and lots and lots
    

Here is the lisp function:



And this fails on the (setq line with error:

    Wrong type argument: integer-or-marker-p, nil

I assumed that after the regex search that the point will be just after
Description\t.  So why doesn't setting the variable work?



--
View this message in context: 
http://emacs.1067599.n5.nabble.com/elisp-Wrong-type-argument-integer-or-marker-p-error-tp283589.html
Sent from the Emacs - Help mailing list archive at Nabble.com.



reply via email to

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