unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: What is this syntax for in php-mode.el
Date: Fri, 20 Apr 2007 18:16:29 +0200	[thread overview]
Message-ID: <4628E75D.6030706@gmail.com> (raw)
In-Reply-To: <jwvlkgn9jvr.fsf-monnier+gnu.emacs.help@gnu.org>

Stefan Monnier wrote:

> Please tell the author that he doesn't need this gymnastics.
> Just set # to comment-starter in the syntax-table and be done with it.
> Make sure it has the comment-style (a or b) corresponding to the one of \n
> (presumably it's b, if I read the problem-comment above correctly):
> 
>     (modify-syntax-entry ?# "< b" php-mode-syntax-table)


But as Ted pointed out before PHP has 3 comment styles, the two from 
C/C++ and then the shell comment style above. Is it really possible to 
handle this with the syntax table?

  reply	other threads:[~2007-04-20 16:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2283.1177032673.7795.help-gnu-emacs@gnu.org>
2007-04-20 14:56 ` What is this syntax for in php-mode.el Stefan Monnier
2007-04-20 16:16   ` Lennart Borgman (gmail) [this message]
2007-04-20 16:39     ` Lennart Borgman (gmail)
2007-04-20  1:26 Lennart Borgman (gmail)
2007-04-20  7:24 ` Edward O'Connor
2007-04-20 12:24   ` Lennart Borgman (gmail)
     [not found]   ` <mailman.2303.1177072165.7795.help-gnu-emacs@gnu.org>
2007-04-20 13:08     ` Robert D. Crawford
2007-04-20 14:17       ` Lennart Borgman (gmail)

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4628E75D.6030706@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).