--- Kevin Rodgers <[EMAIL PROTECTED]> wrote: > Ryan Bowman wrote: > > Suppose I have an integer, say 10. If I (format > "%c" 10) > > it prints a newline. > > No, it returns a string containing just a linefeed > character. > > > If I do (text-char-description 10) it prints > "^J". > > No, it returns a string containing two characters, > caret and capital J. > > > Is there a function that will take an int (10) > and print "\n"? > > If you want to print a newline, use (terpri). If > you want to insert a > newline, use (insert ?\n). > > -- > Kevin Rodgers
Sorry I wasn't precise enough, I want something that it returns a string containing the chars \ and n, I can use text-char-description if I have to, but I'm more use to \n than ^J. ---- Ryan Bowman All truth can be reduced to a Seinfeld episode. ---- __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs