Agustín Martín
bd4532fc5b
flyspell.el (flyspell-word): Do not re-check known misspellings.
...
Avoid re-checking words already found as misspellings by
(flyspell-large-region), just do highlighting.
Patch by Brandon Craig Rhodes (bug#7322)
2010-11-10 11:54:43 +01:00
Michael Albinus
01768686d4
Fix syntax error in previous commit.
2010-11-10 10:08:05 +01:00
YAMAMOTO Mitsuharu
3106121c99
Add const to array elements of font filter properties.
...
* font.c (font_filter_properties): Add const to array elements of properties args.
* font.h (font_filter_properties): Likewise.
* ftfont.c (ftfont_booleans, ftfont_non_booleans): Add const to array elements.
* w32font.c (w32font_booleans, w32font_non_booleans): Likewise.
2010-11-10 18:02:54 +09:00
Michael Albinus
da1fec2bc1
* dbusbind.c (QCdbus_type_unix_fd): New Lisp object.
...
(XD_BASIC_DBUS_TYPE, xd_symbol_to_dbus_type, xd_signature)
(xd_append_arg, xd_retrieve_arg): Support DBUS_TYPE_UNIX_FD.
(Fdbus_call_method): Add DBUS_TYPE_UNIX_FD type mapping to doc string.
(syms_of_dbusbind): Initialize QCdbus_type_unix_fd).
2010-11-10 09:48:18 +01:00
Michael Albinus
6f8fc60c41
* dbus.texi (Type Conversion): Introduce `:unix-fd' type mapping.
2010-11-10 09:41:53 +01:00
Glenn Morris
6d2a1e3566
* lisp/progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2010-11-10 00:21:06 -08:00
Glenn Morris
c026460bc4
* lisp/textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2010-11-09 23:59:00 -08:00
Katsumi Yamaoka
3d49267055
rfc2047.el (rfc2047-syntax-table): Simplify.
2010-11-10 07:55:25 +00:00
Katsumi Yamaoka
fdf1419174
gnus-art.el (article-treat-non-ascii): Use put-char-table instead of set-char-table-range for XEmacs.
2010-11-10 06:23:53 +00:00
Glenn Morris
d4aca69c31
Minor edt.el simplification.
...
* lisp/emulation/edt.el (edt-with-position): New macro.
(edt-find-forward, edt-find-backward, edt-find-next-forward)
(edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
(edt-paragraph-forward, edt-paragraph-backward): Use it.
2010-11-09 21:24:48 -08:00
Glenn Morris
f8a09adb78
tpu-extras.el simplifiation.
...
* lisp/emulation/tpu-extras.el (tpu-with-position): New macro.
(tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2010-11-09 21:16:34 -08:00
Glenn Morris
dea53a431f
Use line-beginning-position in some texinfo.el files.
...
* lisp/textmodes/texnfo-upd.el (texinfo-all-menus-update)
(texinfo-menu-copy-old-description, texinfo-start-menu-description)
(texinfo-master-menu, texinfo-insert-node-lines)
(texinfo-multiple-files-update):
* lisp/textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
Use line-beginning-position.
2010-11-09 20:35:18 -08:00
Glenn Morris
b565f5a1b9
Silence skeleton.el compilation.
...
* lisp/skeleton.el (skeleton-internal-list, skeleton-internal-1):
Prefix dynamic local variable `skeleton'.
2010-11-09 20:30:21 -08:00
Glenn Morris
6e4049508f
Remove ls-lisp time-related functions that duplicate standard functions.
...
* lisp/ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
(ls-lisp-handle-switches): Use time-less-p.
(ls-lisp-format-time): Use float-time.
2010-11-09 20:28:16 -08:00
Glenn Morris
72bc50c029
system-type related trivia.
...
* lisp/cedet/semantic/bovine/c.el: Test system-type with memq.
* lisp/progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
No recent Emacs supports system-type `emx'.
* lisp/progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
(ada-command-separator, ada-default-prj-properties)
(ada-find-any-references): Update for above name change.
* lisp/dirtrack.el (dirtrack-directory-function)
(dirtrack-canonicalize-function):
* lisp/filecache.el (file-cache-completion-ignore-case)
(file-cache-case-fold-search, file-cache-ignore-case):
* lisp/term.el (serial-port-is-file-p): Cosmetic change.
* lisp/emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
Remove non-existent `windows-95' system-type.
* lisp/dired.el (dired-chown-program): Remove non-existent `linux'
system-type.
* lisp/locate.el: Comment.
2010-11-09 20:24:47 -08:00
Glenn Morris
17731c39b2
net-utils system-type trivia.
...
* lisp/net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
(ping-program-options): Remove non-existent `linux' system-type.
2010-11-09 20:13:21 -08:00
Glenn Morris
9228bbd345
* lisp/startup.el (package-initialize): Update declaration.
2010-11-09 20:11:08 -08:00
Glenn Morris
89eee1e053
* lisp/gnus/smime.el (from): Remove unused declaration.
2010-11-09 20:09:49 -08:00
Glenn Morris
6f0d4bb6b2
time-to-seconds related simplifications.
...
* lisp/gnus/gnus-util.el (with-no-warnings): Remove compat stub, now unused.
(gnus-float-time): On Emacs, always an alias.
* lisp/gnus/ecomplete.el (with-no-warnings): Remove compat stub, now unused.
(ecomplete-add-item): Use float-time on Emacs, else gnus-float-time.
* lisp/textmodes/remember.el (remember-time-to-seconds): Remove.
(remember-store-in-mailbox): Use float-time.
* lisp/calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
* lisp/calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
never a real function.
(with-no-warnings): Remove compat stub, now unused.
(time-less-p): Doc fix.
(time-to-number-of-days): Simplify.
2010-11-09 20:08:15 -08:00
Glenn Morris
73171bd4cc
Replace some eshell functions that duplicate standard functions.
...
* lisp/eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds): Remove.
(eshell-read-passwd, eshell-read-hosts): Use time-less-p.
* lisp/eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
* lisp/eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
* lisp/eshell/em-pred.el (eshell-pred-file-time): Use float-time.
* lisp/eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2010-11-09 19:57:32 -08:00
Glenn Morris
13e7256f94
Silence compilation of some shell files.
...
* lisp/eshell/em-unix.el (eshell-remove-entries, eshell/rm)
(eshell-shuffle-files, eshell-shorthand-tar-command)
(eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
* lisp/eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
Prefix dynamic local variable `matches'.
2010-11-09 19:53:03 -08:00
Glenn Morris
bd6bc2222d
* src/emacs.c (syms_of_emacs) <system-type>: Doc fix.
2010-11-09 19:45:29 -08:00
Glenn Morris
9a150fcc34
ChangeLog fix.
2010-11-09 19:43:44 -08:00
Katsumi Yamaoka
16c1b3bc2f
gnus-art.el (org-entities): Bind it.
2010-11-10 01:25:17 +00:00
Katsumi Yamaoka
5ad3e88588
net/browse-url.el (browse-url-mail): Insert body part of mailto url in mail buffer; make yank-action always a command that yanks original buffer.
2010-11-10 00:02:44 +00:00
Lars Magne Ingebrigtsen
be3c11b305
Merge changes made in Gnus trunk.
...
message.el (message-mailto): New function.
message.el (message-mailto): Should accept other parameters.
message.el (message-mailto): Remove since it duplicates browse-url-mailto functionality.
shr.el (shr-browse-url): Call browse-url-mailto for mailto: links.
message.el (message-subject-trailing-was-ask-regexp): A ] in a [] regexp doesn't need quoting.
gnus-art.el (article-treat-non-ascii): New command and keystroke.
shr.el (browse-url-mailto): Autoload.
gnus.texi (Article Washing): Document gnus-article-treat-non-ascii.
2010-11-09 22:17:36 +00:00
Stefan Monnier
d607b96bc2
Merge from emacs-23
2010-11-09 15:07:10 -05:00
Eli Zaretskii
c00980655b
xfns.c (x_real_positions): Fix declaration-after-statement problem.
2010-11-09 15:55:52 +02:00
Sven Joachim
27410d0ac3
message.el (message-subject-trailing-was-ask-regexp, message-subject-trailing-was-regexp): Match was: in addition to was.
2010-11-09 10:29:37 +00:00
Glenn Morris
e814121e1b
* lisp/progmodes/meta-mode.el: (meta-indent-line): Simplify.
2010-11-09 00:00:46 -08:00
Glenn Morris
3406534cab
* lisp/progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2010-11-08 23:47:01 -08:00
Glenn Morris
14121c5280
* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2010-11-08 23:41:57 -08:00
Glenn Morris
9b026d9f13
Replace still more end-of-line etc with line-end-position, etc.
...
* lisp/gnus/nnbabyl.el (nnbabyl-request-move-article, nnbabyl-delete-mail)
(nnbabyl-check-mbox): Use point-at-bol.
* lisp/cedet/semantic/lex.el (semantic-lex-ignore-comments, semantic-flex):
* lisp/cedet/semantic/grammar.el (semantic-grammar-epilogue):
* lisp/cedet/ede/speedbar.el (ede-find-nearest-file-line):
* lisp/cedet/ede/pmake.el (ede-proj-makefile-insert-dist-rules):
* lisp/cedet/ede/autoconf-edit.el (autoconf-delete-parameter):
Use point-at-bol and point-at-eol.
* lisp/vc/emerge.el (emerge-line-number-in-buf):
* lisp/textmodes/ispell.el (ispell-region):
* lisp/textmodes/fill.el (current-fill-column):
* lisp/progmodes/xscheme.el (xscheme-send-current-line):
* lisp/progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
* lisp/progmodes/tcl.el (tcl-hairy-scan-for-comment):
* lisp/progmodes/sh-script.el (sh-handle-prev-do):
* lisp/progmodes/meta-mode.el (meta-indent-line):
* lisp/progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
(idlwave-in-quote):
* lisp/progmodes/idlw-shell.el (idlwave-shell-current-frame)
(idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
* lisp/progmodes/fortran.el (fortran-looking-at-if-then):
* lisp/progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
* lisp/progmodes/cperl-mode.el (cperl-sniff-for-indent)
(cperl-find-pods-heres):
* lisp/progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
* lisp/net/quickurl.el (quickurl-list-insert):
* lisp/net/ldap.el (ldap-search-internal):
* lisp/net/eudc.el (eudc-expand-inline):
* lisp/mail/sendmail.el (sendmail-send-it):
* lisp/mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
* lisp/emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
(viper-brac-function):
* lisp/calc/calc-yank.el (calc-do-grab-region):
* lisp/calc/calc-keypd.el (calc-keypad-press):
* lisp/term.el (term-move-columns, term-insert-spaces):
* lisp/speedbar.el (speedbar-highlight-one-tag-line):
* lisp/simple.el (current-word):
* lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
* lisp/info.el (Info-find-node-in-buffer-1, Info-follow-reference)
(Info-scroll-down):
* lisp/hippie-exp.el (he-line-beg):
* lisp/epa.el (epa--marked-keys):
* lisp/dired-aux.el (dired-kill-line, dired-do-kill-lines)
(dired-update-file-line, dired-add-entry, dired-remove-entry)
(dired-relist-entry):
* lisp/buff-menu.el (Buffer-menu-buffer):
* lisp/array.el (current-line):
* lisp/allout.el (allout-resolve-xref)
(allout-latex-verbatim-quote-curr-line):
Replace yet more uses of end-of-line etc with line-end-position.
2010-11-08 21:33:07 -08:00
Glenn Morris
aef8d045c9
ChangeLog fix.
2010-11-08 20:39:11 -08:00
Chong Yidong
0f161c71c9
Bump version to 23.2.90.
...
Regenerate AUTHORS, configure, and ldefs-boot.el.
2010-11-08 21:53:18 -05:00
Katsumi Yamaoka
44d51d8460
message.el (message-subject-trailing-was-regexp): Fix default value.
2010-11-09 02:00:56 +00:00
Stefan Monnier
dfb70734ef
* .dir-locals.el (log-edit-mode): Set log-edit-rewrite-fixes.
2010-11-08 16:07:41 -05:00
Stefan Monnier
9bdba5f56b
* lisp/minibuffer.el (minibuffer-completion-help): Specify the end of the
...
completion field.
Fixes: debbugs:7211
2010-11-08 15:53:42 -05:00
Stefan Monnier
1398b795ef
* lisp/emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
...
(checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
(checkdoc-syntax-table): Initialize in the declaration.
(emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
the mode on unconditionally.
2010-11-08 15:01:01 -05:00
Stefan Monnier
db94771e23
* lisp/emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
...
(extent-end-position, extent-start-position): Remove setf method for
non-existing functions.
Fixes: debbugs:7319
2010-11-08 14:09:21 -05:00
Stefan Monnier
73525e726c
* lisp/progmodes/python.el (python-font-lock-syntactic-keywords):
...
Fix handling of backslash escapes.
(python-quote-syntax): Adjust accordingly.
Fixes: debbugs:7322
2010-11-08 13:56:10 -05:00
Richard Levitte
05539fb32a
* lisp/vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
...
(vc-mtn-workfile-branch): Adjust to new output format.
2010-11-08 13:42:24 -05:00
Stefan Monnier
cc4d2366a7
* lisp/international/mule-cmds.el (princ-list): Mark as obsolete.
2010-11-08 10:45:49 -05:00
Lars Magne Ingebrigtsen
1fe0787fcd
gnus-group.el (gnus-group-read-ephemeral-group, gnus-group-make-group): Remove superfluous ": " from the prompt.
...
gnus-start.el (gnus-get-unread-articles, gnus-read-active-file): Ignore totally non-existent methods.
2010-11-08 01:38:47 +00:00
Stefan Monnier
7f925a67c1
* lisp/emacs-lisp/smie.el: New package.
2010-11-07 10:52:33 -05:00
Stefan Monnier
674728d4e3
* lisp/emacs-lisp/smie.el: Simplify the smie-rules-function return values.
...
(smie-precs->prec2): Rename from smie-precs-precedence-table.
(smie-bnf->prec2): Rename from smie-bnf-precedence-table.
(smie-prec2->grammar): Rename from smie-prec2-levels.
(smie-grammar): Rename from smie-op-levels.
(smie-indent--hanging-p): Rename from smie-hanging-p.
(smie-rule-hanging-p): New alias.
(smie-indent--bolp): Rename from smie-bolp.
(smie-indent--hanging-p): New alias.
(smie--token): New dynamically bound variable.
(smie-indent--parent): New function.
(smie-rule-parent-p): Use it; rename from smie-parent-p.
(smie-rule-next-p): Rename from smie-next-p.
(smie-rule-prev-p): Rename from smie-prev-p.
(smie-rule-sibling-p, smie-rule-parent)
(smie-indent--separator-outdent, smie-rule-separator): New functions.
(smie-rule-separator-outdent): New var.
(smie-indent--rule): Merge with smie-indent--column.
(smie-indent-forward-token, smie-indent-backward-token):
Also recognize close parens.
(smie-indent-keyword): Don't use smie-indent--column any more.
(smie-indent-after-keyword): Ignore closers by default.
(smie-indent-line): Use with-demoted-errors.
* lisp/progmodes/octave-mod.el (octave-smie-grammar):
Rename from octave-smie-op-levels.
(octave-smie-rules): Adjust to new behavior.
* lisp/progmodes/prolog.el (prolog-smie-grammar):
Rename from prolog-smie-op-levels.
2010-11-07 10:45:45 -05:00
Jan D
66b167670d
* src/xfns.c (set_machine_and_pid_properties): Let X set WM_CLIENT_MACHINE.
2010-11-07 12:25:55 +01:00
Jan D
27f92be77d
* src/xdisp.c (note_mode_line_or_margin_highlight): Initialize
...
Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also.
2010-11-07 12:16:54 +01:00
Michael Albinus
e4dbd3e267
Fix misleading Changelog entry.
2010-11-07 08:02:15 +01:00
Glenn Morris
81aa0dabb3
Fix typo in previos flymake change.
2010-11-06 19:02:54 -07:00