From: A Soare <alinsoar@voila.fr>
To: emacs-devel@gnu.org
Cc: "Richard Stallman \[rms\]" <rms@gnu.org>
Subject: Re: For the release
Date: Fri, 15 Aug 2008 16:41:01 +0200 (CEST) [thread overview]
Message-ID: <8189079.5185291218811261100.JavaMail.www@wwinf4615> (raw)
> I have the impression that many feature changes made were not recorded
> in etc/NEWS. So someone should check the change logs looking for things
> that need to be added there.
>
>
Do not forget to specify that the indentation of lisp is founded on a different system;
I will write soon an identical indentation of C code, using the same automaton, because it takes me just little time.
However the implantation of the automaton in C/parse-partial-sexp, as a new field to teh lisp_parse_state structure, in order to get the indentation of every kind of code (in _every_ major mode) after running parse-partial sexp, as I explained you, will be made by somebody else if they want to, because for me it is clear how it can be done, and maybe somebody wants to do it. I will not spend time on. It's identical to that for lisp, but need to be implanted in C.
struct lisp_parse_state
{
int depth; /* Depth at end of parsing. */
int instring; /* -1 if not within string, else desired terminator. */
int incomment; /* -1 if in unnestable comment else comment nesting */
int comstyle; /* comment style a=0, or b=1, or ST_COMMENT_STYLE. */
int quoted; /* Nonzero if just after an escape char at end of parsing */
int mindepth; /* Minimum depth seen while scanning. */
/* Char number of most recent start-of-expression at current level */
EMACS_INT thislevelstart;
/* Char number of start of containing expression */
EMACS_INT prevlevelstart;
EMACS_INT location; /* Char number at which parsing stopped. */
EMACS_INT comstr_start; /* Position of last comment/string starter. */
Lisp_Object levelstarts; /* Char numbers of starts-of-expression
of levels (starting from outermost). */
Lisp_Object INDENTATION; <= NEW FIELD
};
____________________________________________________
Avant de prendre le volant, repérez votre itinéraire et visualisez le trafic ! http://itineraire.voila.fr/itineraire.html
next reply other threads:[~2008-08-15 14:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-15 14:41 A Soare [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-08-16 8:51 For the release A Soare
2008-08-14 11:03 Richard M. Stallman
2005-07-29 13:54 Richard M. Stallman
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=8189079.5185291218811261100.JavaMail.www@wwinf4615 \
--to=alinsoar@voila.fr \
--cc=emacs-devel@gnu.org \
--cc=rms@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.