1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 14:30:43 -08:00
Commit graph

97594 commits

Author SHA1 Message Date
Glenn Morris
ac8331a7bf In gdb, try to init comint history from gdbhist.
* lisp/progmodes/gdb-mi.el (gdb): Try to initialize comint input history
from gdb's history file.  (Bug#7575)
2010-12-07 21:00:12 -08:00
Glenn Morris
5fe9ebd14e * mail/emacsbug.el (report-emacs-bug): Try to handle some other mail clients. 2010-12-07 19:47:27 -08:00
Glenn Morris
ec1b9b17fa Make verify-visited-file-modtime default to the current buffer.
* src/fileio.c (Fverify_visited_file_modtime): Default to current buffer.
* doc/lispref/buffers.texi (Modification Time):
verify-visited-file-modtime now defaults to the current buffer.
2010-12-07 19:45:45 -08:00
Stefan Monnier
33cf0fb226 * lisp/files.el (dir-locals-collect-variables): Don't let errors stop us.
Use string-prefix-p.
(file-name-version-regexp): New var.
(file-name-sans-versions):
* lisp/jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
(jka-compr-get-compression-info): Use dolist.
(jka-compr-compression-info-list): Don't bother specifying
version/backup regexps.
2010-12-07 21:18:02 -05:00
Lars Magne Ingebrigtsen
60568d7458 shr.el (shr-tag-table-1): Use bg/gfcolor specs on tables.
(shr-render-td): Handle td style="" better.
 (shr-tag-table): Use the color from the style sheet.
 (shr-render-td): Make sure we copy over all the overlays, too.
nnimap.el (nnimap-parse-flags): Tweak VANISHED regexp to avoid regexp overflow, possibly.
2010-12-07 22:12:50 +00:00
Tassilo Horn
11c31b99b3 * simple.el (just-one-space): Make argument n default to 1 if
omitted.
2010-12-07 20:38:38 +01:00
Stefan Monnier
a733fc3715 * lisp/electric.el (electric-indent-post-self-insert-function):
Delete trailing newlines even if we don't reindent.
2010-12-07 10:36:08 -05:00
Andrew Cohen
f2f6365c74 nnir.el (nnir-run-gmane): Restore sub-optimal test for gmane server.
(nnir-request-article): Improve article retrieval.
2010-12-07 14:10:11 +00:00
Katsumi Yamaoka
c912b478a7 Decode extra numeric entities.
mm-util.el (mm-extra-numeric-entities): New variable.
mm-url.el (mm-url-decode-entities):
mm-decode.el (mm-shr): Use it to decode extra numeric entities.
2010-12-07 05:06:56 +00:00
Stefan Monnier
674c5ccf39 * lisp/gnus/message.el: Use completion-at-point.
(message-completion-function): New fun, extracted from message-tab.
(message-mode): Use it for completion-at-point-functions.
(message-tab): Use it and completion-at-point.
2010-12-06 21:01:00 -05:00
Katsumi Yamaoka
6568edea53 shr.el (shr-find-fill-point): Don't break a line after a kinsoku-bol character if a non-breakable character follows. 2010-12-07 01:21:09 +00:00
Gnus developers
516aa569e1 proto-stream.el (proto-stream-open-tls): Return nil if we don't get any stream.
gnus.texi (Server Commands): Point to the rest of the server commands.
2010-12-06 23:27:17 +00:00
Gnus developers
b31b26b489 Merge changes made in Gnus trunk.
shr.el (shr-render-td): Render td content with shr-descend, so style will be applied to <td> too.
 (shr-colorize-region): Colorize region even if we only have a background.
 (shr-tag-body): Fix color and background color inheritance.
 (shr-tag-body): Do not recolorize after shr-generic.
 (shr-tag-font): Let shr-generic colorize via inheritance.
shr.el (shr-descend): Only colorise something if we have a node that sets colors.
gnus-int.el (gnus-request-thread): Rework to take a header instead of a Message-ID to avoid having nnimap depend on gnus-sum.
shr.el (shr-tag-font): Colorize the region.
 (shr-tag-body): Ditto.
 (shr-tag-font): Actually let the styles be inherited instead of overwriting them.
 (shr-tag-font): Get the background color right.
 (shr-tag-style): Ignore all <style> tags for the moment.
2010-12-06 22:16:10 +00:00
Stefan Monnier
67027b4979 * lisp/bindings.el (complete-symbol): Move back from minibuffer.el.
* lisp/minibuffer.el (completion-at-point): Remove the `arg'.
2010-12-06 16:06:02 -05:00
Deniz Dogan
88b5a757a2 * lisp/simple.el (just-one-space): Delete newlines for negative arg. 2010-12-06 13:21:42 -05:00
Lars Magne Ingebrigtsen
3c2317e891 Return CDATA sections (like <style>foo</style>) as text nodes.
Also ignore blank HTML nodes.
2010-12-06 17:59:52 +01:00
Stefan Monnier
ce327e48a1 * lisp/ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
(ansi-color-filter-apply): Simplify.
(ansi-color-apply): Use `font-lock-face' rather than `face'.
2010-12-06 11:51:37 -05:00
Stefan Monnier
bba3e50834 * src/lread.c (read1): Allow newstyle unquote outside of backquote.
Disallow old-style backquotes inside new-style backquotes.
Don't count unquotes to figure out when we're "syntactically inside
but semantically outside of a backquote" any more.
Extend the restriction no-unescaped-commas-and-backquotes-in-symbols
to all contexts.
2010-12-06 11:37:26 -05:00
Gnus developers
7454326ab9 nnir.el (nnir-request-move-article): Remove obsolete code.
shr.el (shr-find-fill-point): Don't regard apostrophe as kinsoku-bol.
2010-12-06 03:59:56 +00:00
Katsumi Yamaoka
c67e426e95 gnus-util.el (gnus-macroexpand-all): Use eval-and-compile. 2010-12-05 23:29:50 +00:00
Gnus developers
04db63bc41 Merge changes made in Gnus trunk.
nnir.el (nnir-categorize): Replace mapcar with mapc.
shr.el (shr-urlify): Display the title in <a> tags.
shr.el (shr-urlify): Show the URL before the title to avoid misleading URLs.
gnus-sum.el (gnus-summary-show-article): Reverse the meanings of `C-u
C-u g' and `C-u g' so that `C-u g' does what it traditionally did.
gnus.texi (Paging the Article): Note the reverse meanings of `C-u C-u g'.
gnus-html.el (gnus-html-put-image): Use widget instead of local maps
so that TAB works.
nnir.el (nnir-run-gmane): Use more careful test for gmane nntp server.
nnimap.el (nnimap-process-expiry-targets): Avoid downloading articles
unless necessary.
gnus-util.el (gnus-output-to-mail): Require nnmail before using nnmail
variables.
shr.el (shr-stylesheet): New dynamic variable for cascading the styles.
 (shr-colorize-region): New function.
 (shr-insert-background-overlay): Remove.
 (shr-render-td): Background setting should be taken care of on a higher level.
 (shr-tag-body): Use post-hoc colorizations.
 (shr-descend): Only render color/background when they change.
 (shr-tag-body): Set up a style sheet based on bgcolor/fgcolor.
 (shr-put-color-1): Don't overwrite old colors.
 (shr-colorize-region): When the background color isn't explicit, use a fixed background.
gnus.el (gnus-valid-select-methods): Allow nnimap to respool.
nntp.el (nntp-snarf-error-message): nnheader-report takes a format string as the parameter.
gnus-sum.el (gnus-summary-respool-article): The completion function expects a list instead of an alist.
2010-12-05 22:17:34 +00:00
Chong Yidong
d23d86081b * src/process.c: Remove checks for HAVE_SYS_IOCTL_H (Bug#7484). 2010-12-04 20:23:22 -05:00
Bob Rogers
ac73d95582 * lisp/vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501). 2010-12-04 20:01:23 -05:00
Chong Yidong
d96c83fa56 * configure.in: Fix last change. 2010-12-04 17:32:32 -05:00
Chong Yidong
8c44f09771 Smarter initialization for dired-use-ls-dired (Bug#7546).
* lisp/dired.el (dired-use-ls-dired): Set default to a special
"unspecified" value.
(dired-insert-directory): When called the first time, check
whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
2010-12-04 17:10:12 -05:00
Andreas Schwab
d6a003a8b5 Remove empty machine description files
* configure.in: Remove reference to removed machine description
files and allow $machine and $machfile to be empty.  Substitute
M_FILE/S_FILE instead of machfile/opsysfile.

* msdos/sed1v2.inp (M_FILE, S_FILE): Add $(srcdir)/ prefix.

* Makefile.in (M_FILE): Substitute @M_FILE@ instead of @machfile@.
(S_FILE): Substitute @S_FILE@ instead of @opsysfile@.
* src/m/arm.h, src/m/sh3.h, src/m/xtensa.h: Remove files.
2010-12-04 20:50:39 +01:00
Tak Ota
15af15e549 * lisp/replace.el: Add "collect" feature to occur.
(occur-collect-regexp-history): New var.
(occur-read-primary-args): Return a replace string for nlines, if needed.
(occur): Extend the meaning of nlines.
2010-12-03 20:58:06 -05:00
Stefan Monnier
b2e6e5bd15 * lisp/progmodes/which-func.el (which-func-ff-hook): Log the error message.
(which-func-update-1): Distinguish symbols from strings.
(which-function): Stay within 80 columns.
2010-12-03 19:49:49 -05:00
Stefan Monnier
7f0ea0ffc9 * lisp/subr.el (with-demoted-errors): Distinguish symbols from strings. 2010-12-03 18:20:27 -05:00
Stefan Monnier
ee9355dcc8 * lisp/newcomment.el (comment-styles): Add docs to each style.
Improve docstring.
(comment-style): Use comment-styles's docs to describe values.

Fixes: debbugs:7509
2010-12-03 18:14:50 -05:00
Andreas Schwab
201ef780e0 Remove EXPLICIT_SIGN_EXTEND.
* lisp.h (union Lisp_Object): Explicitly declare signedness of
bit-field.
(XINT): Remove variant for EXPLICIT_SIGN_EXTEND.
* m/alpha.h (EXPLICIT_SIGN_EXTEND): Don't define.
* m/amdx86-64.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/ia64.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/ibms390.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/ibms390x.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/iris4d.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/m68k.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/sparc.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/template.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/hp800.h: Remove file.
* m/mips.h: Remove file.
2010-12-03 17:08:05 -05:00
Andrew Cohen
1b811c905a nnir.el: Rearrange code to allow macros to be autoloaded by gnus-sum.el.
* nnir.el: Rearrange code to allow macros to be autoloaded by
gnus-sum.el.
(nnir-retrieve-headers-override-function): Make this variable
customizable.
(nnir-retrieve-headers): Remove obsolete subject-mangling code.
2010-12-03 17:06:51 -05:00
Julien Danjou
6ce4202f43 gnus-demon.el (gnus-demon-init): Fix time computing when time is nil. 2010-12-03 17:05:02 -05:00
Chong Yidong
903653532f Revert to 2010-12-03T11:48:24Z!jan.h.d@swipnet.se. 2010-12-03 17:01:43 -05:00
Andreas Schwab
e5bd16703f Remove EXPLICIT_SIGN_EXTEND.
* lisp.h (union Lisp_Object): Explicitly declare signedness of
bit-field.
(XINT): Remove variant for EXPLICIT_SIGN_EXTEND.
* m/alpha.h (EXPLICIT_SIGN_EXTEND): Don't define.
* m/amdx86-64.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/ia64.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/ibms390.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/ibms390x.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/iris4d.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/m68k.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/sparc.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/template.h (EXPLICIT_SIGN_EXTEND): Likewise.
* m/hp800.h: Remove file.
* m/mips.h: Remove file.

* CPP-DEFINES (EXPLICIT_SIGN_EXTEND): Remove.
2010-12-03 21:55:23 +01:00
Glenn Morris
5ed63ab8a9 Restore another execute-bit. 2010-12-03 09:40:46 -08:00
Chong Yidong
1cd895e1e2 Restore executable bit omitted when undeleting files in 2010-12-03T14:45:09Z!yamaoka@jpl.org. 2010-12-03 12:32:55 -05:00
Andrew Cohen
62cd2a73b8 nnir.el: Rearrange code to allow macros to be autoloaded by gnus-sum.el.
(nnir-retrieve-headers-override-function): Make this variable customizable.
 (nnir-retrieve-headers): Remove obsolete subject-mangling code.
gnus-sum.el (nnir-article-group,nnir-article-rsv): Autoload macros from nnir.el.
2010-12-03 14:53:52 +00:00
Katsumi Yamaoka
067d23c97a Restore files that I seem to have mistakenly deleted. 2010-12-03 14:45:09 +00:00
Julien Danjou
19b9c467ea gnus-demon.el (gnus-demon-init): Fix time computing when time is nil. 2010-12-03 11:52:43 +00:00
Jan Djärv
3e972d981f Restore dock New Frame and Preferences menu functions (Bug#7535).
* term/common-win.el (x-setup-function-keys): Restore ns-new-frame
and ns-show-prefs.

* term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
bindings.
2010-12-03 12:48:24 +01:00
Jan Djärv
146490c35d Draw cursor and images correctly for Nextstep (bug#7412).
* src/nsterm.m (ns_dumpglyphs_image): If drawing cursor, fill background
with cursor color and draw a rectangle around the image.
2010-12-03 11:54:44 +01:00
Andreas Schwab
babc8f0d4a * frame.c (x_set_font): Remove unused variable. 2010-12-03 11:07:40 +01:00
Andreas Schwab
665ca1eef6 Update cl-loaddefs.el 2010-12-03 11:07:24 +01:00
Katsumi Yamaoka
89a92f421a gnus-util.el (gnus-macroexpand-all): Fix last change. 2010-12-03 08:01:00 +00:00
Katsumi Yamaoka
9778055f75 gnus-util.el (gnus-macroexpand-all): Allow optional argument `environment'. 2010-12-03 07:49:34 +00:00
Katsumi Yamaoka
115e0ebf43 gnus-util.el (gnus-macroexpand-all): Don't modify argument. 2010-12-03 04:39:36 +00:00
Glenn Morris
afe272389b Silence nxml-mode.el compilation.
* lisp/nxml/nxml-mode.el: Require rng-nxml.
(rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
Remove declarations.
2010-12-02 19:13:24 -08:00
Glenn Morris
65beee5243 Remove leading `*' from nxml defcustom docs.
* lisp/nxml/nxml-mode.el, lisp/nxml/nxml-outln.el, lisp/nxml/rng-loc.el:
* lisp/nxml/rng-nxml.el, lisp/nxml/rng-valid.el:
Remove leading `*' from defcustom docs.
2010-12-02 19:10:25 -08:00
Glenn Morris
ad961a0083 startup.el trivia.
* lisp/startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
(normal-top-level-add-to-load-path, tty-handle-args):
Convert comments to basic doc-strings.
2010-12-02 19:06:11 -08:00