all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Using comment characters for specific major modes
@ 2021-06-05 20:52 martin-kemp
  2021-06-05 21:50 ` Jean Louis
  2021-06-06  8:32 ` Omar Polo
  0 siblings, 2 replies; 30+ messages in thread
From: martin-kemp @ 2021-06-05 20:52 UTC (permalink / raw)
  To: help-gnu-emacs

Am using the following expression to make a line composed of ";" of length lena.



The first two semicolons ";;" are for when I use elisp code.



    (setq-local s (concat ";; " (make-string lena ?\;)))



But I want to change the starting ";;" to be the comment character of the major mode I am working with.



For texinfo I want "@c", and for fortran-mode I want "c", and "!!" for f90-mode.







^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2021-06-09 15:42 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-05 20:52 Using comment characters for specific major modes martin-kemp
2021-06-05 21:50 ` Jean Louis
2021-06-05 22:05   ` martin-kemp
2021-06-05 22:40     ` Jean Louis
2021-06-05 22:53       ` martin-kemp
2021-06-05 23:05         ` Jean Louis
2021-06-05 23:20           ` martin-kemp
2021-06-05 23:32             ` Jean Louis
2021-06-05 23:47               ` martin-kemp
2021-06-05 23:56                 ` Jean Louis
2021-06-06  0:17                   ` martin-kemp
2021-06-06  0:23                     ` Jean Louis
2021-06-06  0:39                       ` martin-kemp
2021-06-06  0:43                         ` Jean Louis
2021-06-06  9:14                           ` martin-kemp
2021-06-06  9:46                             ` Jean Louis
2021-06-06 16:02                             ` Stefan Möding
2021-06-06 16:23                               ` martin-kemp
2021-06-06 16:40                                 ` Jean Louis
2021-06-06 16:53                                   ` martin-kemp
2021-06-06 16:56                                 ` Jean Louis
2021-06-06 17:36                                   ` martin-kemp
2021-06-06 20:50                                     ` Jean Louis
2021-06-08  9:14                                       ` martin-kemp
2021-06-06  3:24             ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-06-09 15:42               ` martin-kemp
2021-06-06  8:32 ` Omar Polo
2021-06-06  8:34   ` Omar Polo
2021-06-06  9:05     ` martin-kemp
2021-06-06 11:43       ` Omar Polo

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.