[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] Drop the generation of stumpwm.texi
From: |
David Bjergaard |
Subject: |
Re: [STUMP] Drop the generation of stumpwm.texi |
Date: |
Thu, 27 Nov 2014 12:13:04 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Scott Jaderholm <address@hidden> writes:
> (require 'thingatpt)
>
> (defun jsj-render-docstring-as-texinfo ()
> "Render the docstring at point in an *info* buffer."
> (interactive)
> (save-excursion
> (while (in-string-p)
> (backward-char))
> (let ((docstring (thing-at-point 'sexp))
> (file (make-temp-file "texinfo")))
> (with-temp-file file
> (insert "@setfilename " file " \n"
> "@node Top\n")
> (insert docstring))
> (find-file file)
> (makeinfo-buffer))))
>
> Cheers,
> Scott
This would be useful in stumpwm.el, can you open an issue against
stumpwm-contrib to remind me to add this at some point?
Dave
- Re: [STUMP] Drop the generation of stumpwm.texi, (continued)
- Re: [STUMP] Drop the generation of stumpwm.texi, Diogo F. S. Ramos, 2014/11/18
- Re: [STUMP] Drop the generation of stumpwm.texi, David Bjergaard, 2014/11/18
- Re: [STUMP] Drop the generation of stumpwm.texi, Diogo F. S. Ramos, 2014/11/18
- Re: [STUMP] Drop the generation of stumpwm.texi, David Bjergaard, 2014/11/18
- Re: [STUMP] Drop the generation of stumpwm.texi, Scott Jaderholm, 2014/11/26
- Re: [STUMP] Drop the generation of stumpwm.texi, Scott Jaderholm, 2014/11/26
- Re: [STUMP] Drop the generation of stumpwm.texi,
David Bjergaard <=