Stefan Monnier
d355a0b791
Replace Lisp calls to delete-backward-char by delete-char.
...
* bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
skeleton.el, term.el, time.el, wid-edit.el, woman.el,
calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
progmodes/ps-mode.el, progmodes/verilog-mode.el,
progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
delete-backward-char by calls to delete-char.
2010-05-24 22:11:08 -04:00
Chong Yidong
2ef3c1449c
Add TeX open-block and close-block keybindings to SGML, and vice versa.
...
* textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
latex-open-block and C-c / to latex-close-block.
* textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
and C-c C-e to sgml-close-tag.
2010-05-13 17:52:20 -04:00
Chong Yidong
f0bd0ad525
Fix sgml-maybe-name-self (Bug#5380).
...
* textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
process last-command-event, as it is now decoded first (Bug#5380).
2010-01-21 09:03:10 -05:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Chong Yidong
5d1fd962bb
* textmodes/sgml-mode.el (sgml-lexical-context): Recognise
...
comment-start-skip to comment-end-skip as comment (Bug#4781).
2009-12-05 20:23:25 +00:00
Chong Yidong
673c1168a0
* textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
...
Support face colors.
* textmodes/tex-mode.el (tex-facemenu-add-face-function): New
function. Support face colors (Bug#1168).
(tex-common-initialization): Use it.
* facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
mode allows it (Bug#1168).
2009-10-31 21:52:53 +00:00
Glenn Morris
9847dc91f3
(sgml-looking-back-at): Move definition before use.
2009-10-24 03:45:50 +00:00
Chong Yidong
7346a407f4
* minibuffer.el (read-file-name): Check for repeat before putting
...
a default argument in file-name-history (Bug#4657).
* emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
read syntax (Bug#4737).
* textmodes/sgml-mode.el (sgml-delete-tag): Use
sgml-looking-back-at.
2009-10-18 22:25:36 +00:00
Chong Yidong
1da9454195
* textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
...
(html-tag-alist, html-tag-help): Add descriptions for undocumented
entries and make note of obsolete tags.
2009-10-18 04:06:32 +00:00
Chong Yidong
e477ca8496
* nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
...
* textmodes/sgml-mode.el: Remove xml-mode alias.
* files.el (auto-mode-alist, conf-mode-maybe)
(magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21
changes.
2009-09-24 23:22:17 +00:00
Kenichi Handa
e4abaae3c2
Change to utf-8. Adjust coding cookie.
...
(html-mode): Delete duplicated chars from sentence-end-base.
2009-08-18 01:19:31 +00:00
Glenn Morris
1ba983e8d9
Replace last-command-char with last-command-event.
2009-01-09 04:23:38 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Martin Rudalics
c673dabeb8
(sgml-tag-syntax-table): Remove prefix
...
flag from "'" entry in sgml-tag-syntax-table.
2008-09-19 06:20:30 +00:00
Stefan Monnier
41b9049579
(sgml-font-lock-syntactic-keywords):
...
Use syntax-ppss on a position *before* the char we want to change.
2008-07-05 04:26:11 +00:00
Glenn Morris
1fecc8feb6
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 04:34:22 +00:00
Stefan Monnier
ede8c7f013
(sgml-font-lock-syntactic-keywords): Mark " outside of tags as punctuation.
2008-03-12 03:15:13 +00:00
Miles Bader
b03f96dc5a
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1074
2008-02-24 10:09:07 +00:00
Stefan Monnier
c273429337
(sgml-mode): Fix comment syntax.
2008-02-14 02:42:45 +00:00
Miles Bader
d235ca2ff8
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-324
2008-01-30 07:57:28 +00:00
Eric S. Raymond
6e69aa4d01
* testmodes/sgml-mode.el (sgml-tag-syntax-table): Initialize this
...
constant with a computation on sgml-specials rather than a literal
list. Without this change the syntax table is generated
incorrectly, and the mode will think it's in a comment following
any instance of the string "--".
2008-01-09 16:21:29 +00:00
Miles Bader
430d2ee291
Merge from emacs--devo--0
...
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Glenn Morris
12dc447f2a
Add 2008 to copyright years.
2008-01-07 02:23:04 +00:00
Stefan Monnier
48d33090d0
* erc-ibuffer.el (erc-channel-modes):
...
* bs.el (bs--sort-by-mode, bs--get-mode-name):
* imenu.el (imenu-add-to-menubar):
* makesum.el (make-command-summary):
* mouse.el (mouse-major-mode-menu, mouse-popup-menubar, mouse-buffer-menu):
* msb.el (msb--mode-menu-cond):
* calc/calc-embed.el (calc-do-embedded):
* emacs-lisp/helper.el (Helper-describe-mode):
* mail/emacsbug.el (report-emacs-bug):
* progmodes/hideshow.el (hs-grok-mode-type):
* textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
* textmodes/table.el (*table--cell-describe-mode):
Pass mode-name through format-mode-line.
2008-01-04 06:29:12 +00:00
Miles Bader
b2e6b10fe2
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 846-851)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 88-92)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 242-244)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-246
2007-08-13 13:48:35 +00:00
Miles Bader
37cc095b6a
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-851
2007-08-13 13:41:28 +00:00
Glenn Morris
3ecd3a56c0
Replace `iff' in doc-strings and comments.
2007-08-08 07:27:21 +00:00
Miles Bader
e468b87f91
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 824-831)
- Update from CVS
- Merge from emacs--rel--22
* emacs--rel--22 (patch 70-74)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-238
2007-07-27 10:52:18 +00:00
Miles Bader
9aecacd08a
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 70-73)
- Update from CVS
2007-07-25 Glenn Morris <rgm@gnu.org>
* Relicense all FSF files to GPLv3 or later.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
5a9dffec38
Switch license to GPLv3 or later.
2007-07-25 04:24:43 +00:00
Miles Bader
1011c48763
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 803-805)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-227
2007-07-09 08:00:55 +00:00
Stefan Monnier
5d503af952
(sgml-xml-guess): Return the result rather than setting sgml-xml-mode.
...
(sgml-mode, html-mode): Set sgml-xml-mode.
(sgml-skip-tag-backward): Tell if we skipped over matched tags.
(sgml-skip-tag-backward, sgml-electric-tag-pair-overlays): New var.
(sgml-electric-tag-pair-before-change-function)
(sgml-electric-tag-pair-flush-overlays): New functions.
(sgml-electric-tag-pair-mode): New minor mode.
(sgml-font-lock-keywords-2, sgml-get-context, sgml-unclosed-tag-p)
(sgml-calculate-indent): Use assoc-string.
2007-06-17 13:55:17 +00:00
Miles Bader
62390cbfc2
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 774-780)
- Update from CVS
- Merge from emacs--rel--22, gnus--rel--5.10
- Merge from emacs--rel--22
- Fix tq.el edge case
* emacs--rel--22 (patch 28-32)
- Update from CVS
* gnus--rel--5.10 (patch 224-225)
- Merge from emacs--devo--0, emacs--rel--22
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-213
2007-05-30 14:40:46 +00:00
Miles Bader
c07318f44a
Merge from emacs--rel--22
...
Patches applied:
* emacs--rel--22 (patch 29-32)
- Update from CVS
2007-05-29 Martin Rudalics <rudalics@gmx.at>
* lisp/textmodes/table.el (table--point-entered-cell-function)
(table--point-left-cell-function): Bind
`inhibit-point-motion-hooks' to t.
2007-05-28 Chong Yidong <cyd@stupidchicken.com>
* lisp/textmodes/sgml-mode.el (sgml-point-entered): Use condition-case.
2007-05-27 Tetsurou Okazaki <okazaki@be.to> (tiny change)
* lisp/log-edit.el (log-edit-changelog-paragraph): Return point-max
as the end of the ChangeLog paragraph when it ends without a line
termination.
2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* src/xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t
around current_column call.
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-778
2007-05-29 23:19:43 +00:00
Chong Yidong
03b1a68c4f
(sgml-point-entered): Use condition-case.
2007-05-28 14:10:50 +00:00
Thien-Thi Nguyen
317b483928
Revert last change.
2007-05-18 09:35:40 +00:00
Thien-Thi Nguyen
992aa6b715
(sgml-tag): Fix bug: Call sgml-transformation-function.
2007-05-17 13:33:12 +00:00
Miles Bader
4ace64cc90
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 726-750)
- Update from CVS
- Merge from emacs--rel--22
- Merge from gnus--rel--5.10
* emacs--rel--22 (patch 6-17)
- Update from CVS
- Update from CVS: src/xterm.c (XTread_socket): Revert last change.
* gnus--rel--5.10 (patch 218-221)
- Merge from emacs--devo--0, emacs--rel--22
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-205
2007-05-15 07:17:13 +00:00
Stefan Monnier
00affaf137
(sgml-value): Fix handling of attributes which can take any number of values.
2007-05-10 06:02:15 +00:00
Stefan Monnier
121f19217d
(sgml-lexical-context): Add handling of XML style Processing Instructions.
...
(sgml-parse-tag-backward): Handle XML-style PIs. Also ensure progress.
(sgml-calculate-indent): Handle `pi' context.
2007-05-08 06:57:38 +00:00
Miles Bader
a73d7753f9
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 638-652)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 202)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-177
2007-02-26 23:03:45 +00:00
Eli Zaretskii
da8092ef54
(sgml-validate): Quote the file name with shell-quote-argument.
2007-02-23 19:27:46 +00:00
Miles Bader
c0466914ba
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 586-614)
- Update from CVS
- Update from erc--emacs--22
- Merge from gnus--rel--5.10
- Merge from erc--main--0
- Make byte compiler correctly write circular constants
* gnus--rel--5.10 (patch 186-196)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
2007-01-26 06:16:11 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Miles Bader
a0451a715e
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 523-544)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 168-171)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-150
2006-12-07 04:14:14 +00:00
Stefan Monnier
9bbceb74b4
(sgml-font-lock-keywords-1): Fix pathological O(n^2) regexp-search by
...
anchoring the search.
2006-12-04 08:08:06 +00:00
Miles Bader
b883cdb2fe
Merge from emacs--devo--0
...
Patches applied:
* emacs--devo--0 (patch 285-296)
- Update from CVS
- Merge from gnus--rel--5.10
- Update from CVS: admin/FOR-RELEASE: Update refcard section.
* gnus--rel--5.10 (patch 102-104)
- Update from CVS
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-64
2006-06-07 18:05:10 +00:00
Roland Winkler
aa18ec07ff
(sgml-transformation): Make this the alias for the following variable.
...
(sgml-transformation-function): Make this the real name.
(sgml-tag-alist): Mark as risky.
2006-05-21 22:19:59 +00:00
Miles Bader
380874900c
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-13
...
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 43-57)
- Update from CVS
- Merge from erc--emacs--0
- Make constrain-to-field notice overlays
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 18-21)
- Update from CVS
- Merge from emacs--devo--0
2006-02-08 04:26:44 +00:00
Thien-Thi Nguyen
ceb4c4d303
Update years in copyright notice; nfc.
2006-02-06 12:31:40 +00:00