all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin-kemp@brusseler.com
To: "Jean Louis" <bugs@gnu.support>
Cc: help-gnu-emacs@gnu.org
Subject: Using comment characters for specific major modes
Date: Sun,  6 Jun 2021 02:39:36 +0200 (CEST)	[thread overview]
Message-ID: <ea-mime-60bc1948-6a1f-e9d0086@www-8.mailo.com> (raw)
In-Reply-To: <YLwVaGFQDu2r88yc@protected.localdomain>

For emacs-lisp-mode I would like "s" to be

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



For texinfo-mode I would like "s" to be

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



For fortran-mode I would like "s" to be

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


For f90-mode I would like "s" to be

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


Finally I would insert the string "s".





Only the first two characters change at the beginning of the string "s".


From: Jean Louis <bugs@gnu.support>
To: martin-kemp@brusseler.com
Subject: Re: Using comment characters for specific major modes
Date: 06/06/2021 02:23:04 Europe/Paris
Cc: help-gnu-emacs@gnu.org

* martin-kemp@brusseler.com <martin-kemp@brusseler.com> [2021-06-06 03:18]:
> The way you are using comment in
> (comment (substring initial 2))

As the above is incomplete sentence I cannot understand you. 

> Does not like you are calling a function that introduces the comment
> characters, particularly when I need twe next to each other.

Hard to understand. 

> I am thankful for your help but I am not getting it yet.

It's OK neither I get what it should be. Maybe we can try with lights
or music?

Reference:
https://www.imdb.com/title/tt0075860/mediaindex?ref_=tt_mv_close




-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://stallmansupport.org/




  reply	other threads:[~2021-06-06  0:39 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ea-mime-60bc1948-6a1f-e9d0086@www-8.mailo.com \
    --to=martin-kemp@brusseler.com \
    --cc=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.