bpt/emacs.git
13 years agonnimap.el: Use the UID returned when copying and accepting articles, instead of searc...
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 01:14:40 +0000 (01:14 +0000)]
nnimap.el: Use the UID returned when copying and accepting articles, instead of searching for the ID (on the servers that support it).
nnimap.el (nnimap-get-groups): Reimplement to work with folded lines.

13 years agonnimap.el (nnimap-last-response-string): Remove the unfolding -- it introduces regres...
Lars Magne Ingebrigtsen [Fri, 26 Nov 2010 00:45:03 +0000 (00:45 +0000)]
nnimap.el (nnimap-last-response-string): Remove the unfolding -- it introduces regressions in article selection.

13 years agonnimap.el (nnimap-last-response-string): Fix last unfolding fix.
Lars Magne Ingebrigtsen [Thu, 25 Nov 2010 23:43:16 +0000 (23:43 +0000)]
nnimap.el (nnimap-last-response-string): Fix last unfolding fix.

13 years agomessage.el (message-called-interactively-p): A temporary macro.
Katsumi Yamaoka [Thu, 25 Nov 2010 23:20:19 +0000 (23:20 +0000)]
message.el (message-called-interactively-p): A temporary macro.
message.el (message-goto-body): Use it temporarily.

13 years agonnimap.el (nnimap-unfold-quoted-lines): Refactor out.
Lars Magne Ingebrigtsen [Thu, 25 Nov 2010 23:05:10 +0000 (23:05 +0000)]
nnimap.el (nnimap-unfold-quoted-lines): Refactor out.
nnimap.el (nnimap-last-response-string): Unfold quoted lines, if they exist.

13 years ago* diff.el (diff): Fix it for good, hopefully, this time.
Stefan Monnier [Thu, 25 Nov 2010 21:59:30 +0000 (16:59 -0500)]
* diff.el (diff): Fix it for good, hopefully, this time.

13 years agoFixing bug #7474 also fixes #7481.
Eli Zaretskii [Thu, 25 Nov 2010 20:28:14 +0000 (22:28 +0200)]
Fixing bug #7474 also fixes #7481.

13 years agoFix bug #7474 with cursor positioning in overlay strings.
Eli Zaretskii [Thu, 25 Nov 2010 18:38:09 +0000 (20:38 +0200)]
Fix bug #7474 with cursor positioning in overlay strings.

 xdisp.c (set_cursor_from_row): Don't forget to consider the
 `cursor' property of the first character in overlay strings.

13 years agoshr.el (shr-insert): Fix the way to fold lines.
Gnus developers [Thu, 25 Nov 2010 14:51:51 +0000 (14:51 +0000)]
shr.el (shr-insert): Fix the way to fold lines.
shr-color.el (shr-color->hexadecimal): Use color-rgb->hex
color.el: Rename from color-lab.el
 (color-rgb->hex): Add.
 (color-complement): Add.
 (color-complement-hex): Add.

13 years agognus-sum.el (gnus-summary-widget-forward): Add, and bind to [tab].
Julien Danjou [Thu, 25 Nov 2010 11:14:14 +0000 (11:14 +0000)]
gnus-sum.el (gnus-summary-widget-forward): Add, and bind to [tab].

13 years agoshr-color.el (shr-color-visible): Don't bug out if the colour names don't exist.
Lars Magne Ingebrigtsen [Thu, 25 Nov 2010 07:46:51 +0000 (07:46 +0000)]
shr-color.el (shr-color-visible): Don't bug out if the colour names don't exist.

13 years agomml.el (mml-preview): Make sure to bind gnus-displaying-mime to nil, assuming that...
Katsumi Yamaoka [Thu, 25 Nov 2010 05:09:25 +0000 (05:09 +0000)]
mml.el (mml-preview): Make sure to bind gnus-displaying-mime to nil, assuming that article displaying or another mml-preview may be interrupted for an error or for the like.

13 years ago* lisp/vc/diff.el (diff): Fix last change.
Stefan Monnier [Thu, 25 Nov 2010 04:43:56 +0000 (23:43 -0500)]
* lisp/vc/diff.el (diff): Fix last change.

13 years agoshr.el (shr-get-background): Fix argument name.
Katsumi Yamaoka [Thu, 25 Nov 2010 01:13:37 +0000 (01:13 +0000)]
shr.el (shr-get-background): Fix argument name.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Wed, 24 Nov 2010 22:54:47 +0000 (22:54 +0000)]
Merge changes made in Gnus trunk.

shr-color.el (shr-color-visible): Really return original background if fixed.
shr.el (shr-insert-color-overlay): Replace deprecated syntax.
shr.el (shr-tag-body, shr-descend): Add background support.
shr.el (shr-tag-title): Add.
gnus-sum.el (gnus-summary-articles-in-thread): Fix a bug that causes this function to return incorrect results.
shr.el (shr-parse-style): Drop !important from styles.
message.el (message-goto-body): Remove the <#secure special-casing, which is too special.
mm-util.el (mm-enable-multibyte): Use `to' instead of t.  This fixes something or other in Emacs 23, and is backwards compatible.
message.el (message-goto-body): Use called-interactively-p.
message.el (message-in-body-p): message-goto-body returns point.
nnimap.el (nnimap-request-move-article): It's no longer necessary to clear marks before moving, since they're synced from the Gnus side first.
gnus-sum.el (gnus-summary-push-marks-to-backend): New function.
gnus-sum.el (gnus-summary-move-article): Copy over all marks before moving, so that IMAP doesn't think a new article has arrived.
message.el (message-goto-body): called-interactively-p needs a parameter, so use `any'.
gnus-cache.el (gnus-summary-insert-cached-articles): Use it.
gnus-sum.el (gnus-summary-include-articles): New function.
shr.el (shr-tag-table, shr-render-td): Add bgcolor support.
shr-color.el (shr-color-visible): Fix docstring.
shr.el (shr-insert-background-overlay): Fix typo.
shr.el (shr-render-td): Copy the background before rendering.

13 years ago* lisp/emacs-lisp/pcase.el: Improve pcase-let. Use "pcase--" prefix.
Stefan Monnier [Wed, 24 Nov 2010 16:39:51 +0000 (11:39 -0500)]
* lisp/emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
(pcase--dontcare-upats): New var.
(pcase-let, pcase-let*): Generate better code.
Accept the same bodies as `let'.
(pcase-dolist): New macro.
(pcase--trivial-upat-p): New helper function.
(pcase--expand): Strip leading "(let nil" if any.

13 years agonsterm.m (keyDown): Compare Left key masks exactly (Bug#7458).
Jan Djärv [Wed, 24 Nov 2010 14:52:14 +0000 (15:52 +0100)]
nsterm.m (keyDown): Compare Left key masks exactly (Bug#7458).

13 years agocolor-lab: Require 'cl when compiling.
Julien Danjou [Wed, 24 Nov 2010 12:56:50 +0000 (12:56 +0000)]
color-lab: Require 'cl when compiling.

13 years agocolor-lab.el: Fix all expt calls to use float type.
Gnus developers [Wed, 24 Nov 2010 11:32:22 +0000 (11:32 +0000)]
color-lab.el: Fix all expt calls to use float type.
shr-color.el: only return hexadecimal part of colors.
shr.el: Protect against non-existant colour names.

13 years agoBug 7458: Make key press like Left + right ctrl work when right is not control.
Jan Djärv [Wed, 24 Nov 2010 07:50:08 +0000 (08:50 +0100)]
Bug 7458: Make key press like Left + right ctrl work when right is not control.
Ditto Alt and Command.

* src/nsterm.m (NSLeftControlKeyMask, NSLeftCommandKeyMask)
(NSLeftAlternateKeyMask): New defines.
(keyDown): Parse left and right keys separatly.

13 years agoshr.el (shr-insert-color-overlay): Pass rgb(rrr, ggg, bbb) type color expression...
Katsumi Yamaoka [Wed, 24 Nov 2010 06:50:28 +0000 (06:50 +0000)]
shr.el (shr-insert-color-overlay): Pass rgb(rrr, ggg, bbb) type color expression to shr-color-check as is.

13 years ago(mailclient-send-it): Bind `browse-url-mailto-function' to nil to
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 06:34:12 +0000 (07:34 +0100)]
(mailclient-send-it): Bind `browse-url-mailto-function' to nil to
use the external browser function to send the mail.

13 years agoIntroduce a new `browse-url-mailto-function' variable for mailto: URLs.
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 06:29:06 +0000 (07:29 +0100)]
Introduce a new `browse-url-mailto-function' variable for mailto: URLs.

13 years agoshr-color.el (shr-color->hexadecimal): Ignore case of color names.
Katsumi Yamaoka [Wed, 24 Nov 2010 06:22:51 +0000 (06:22 +0000)]
shr-color.el (shr-color->hexadecimal): Ignore case of color names.

13 years agocolor-lab.el: Add coding cookie.
Katsumi Yamaoka [Wed, 24 Nov 2010 01:28:37 +0000 (01:28 +0000)]
color-lab.el: Add coding cookie.
color-lab.el (float-pi): Use eval-and-compile.

13 years agoshr.el (shr-tag-font): Resurrect shr-tag-font again, since it's needed to parse ...
Lars Magne Ingebrigtsen [Wed, 24 Nov 2010 00:35:23 +0000 (00:35 +0000)]
shr.el (shr-tag-font): Resurrect shr-tag-font again, since it's needed to parse <font color="red"> entries.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Tue, 23 Nov 2010 22:24:15 +0000 (22:24 +0000)]
Merge changes made in Gnus trunk.

nnheader.el (nnheader-parse-head): Bug fix.  Properly position point when parsing headers.
nnspool.el (nnspool-insert-nov-head): Bug fix.  Make sure point is positioned properly when parsing headers.
shr-color.el (shr-color->hexadecimal): Add support for color names.
color-lab.el (boundp): Bind float-pi for Emacs < 23.3.
shr.el (shr-insert-color-overlay): Split stuff like "#444444 !important" to find the real colour.

13 years agoAvoid GCC warning with inline functions.
Eli Zaretskii [Tue, 23 Nov 2010 20:27:22 +0000 (22:27 +0200)]
Avoid GCC warning with inline functions.

 intervals.c (temp_set_point_both): Define before calling, to
 avoid GCC warnings.

13 years agoFix compilation on Windows following 2010-11-23T18:47:23Z!dann@ics.uci.edu.
Eli Zaretskii [Tue, 23 Nov 2010 20:21:16 +0000 (22:21 +0200)]
Fix compilation on Windows following 2010-11-23T18:47:23Z!dann@ics.uci.edu.

 config.nt (EXTERNALLY_VISIBLE): Define.

13 years ago* src/nsmenu.m: Use #include <config.h> instead of "config.h".
Dan Nicolaescu [Tue, 23 Nov 2010 19:36:48 +0000 (11:36 -0800)]
* src/nsmenu.m: Use #include <config.h> instead of "config.h".

13 years agoMove extern declarations from term.c to lisp.h.
Dan Nicolaescu [Tue, 23 Nov 2010 18:56:28 +0000 (10:56 -0800)]
Move extern declarations from term.c to lisp.h.

* src/term.c (Qglyphless_char,last_glyphless_glyph_frame)
(last_glyphless_glyph_face_id. last_glyphless_glyph_merged_face_id):
Move declarations ...
* src/lisp.h (Qglyphless_char,last_glyphless_glyph_frame)
(last_glyphless_glyph_face_id. last_glyphless_glyph_merged_face_id):
... here.

13 years agoMark debugger related variables and functions as EXTERNALLY_VISIBLE
Dan Nicolaescu [Tue, 23 Nov 2010 18:47:23 +0000 (10:47 -0800)]
Mark debugger related variables and functions as EXTERNALLY_VISIBLE
so that they do not get optimized away.

* configure.in (EXTERNALLY_VISIBLE): New definition.

* src/emacs.c (gdb_use_union, gdb_valbits,gdb_gctypebits)
(gdb_data_seg_bits, gdb_array_mark_flag, PVEC_FLAG)
(gdb_pvec_type):
* src/print.c (print_output_debug_flag):
* src/lisp.h (debug_print): Mark as EXTERNALLY_VISIBLE.
(safe_debug_print): New declaration.

13 years agoInclude <sys/ioctl.h> unconditionally.
Dan Nicolaescu [Tue, 23 Nov 2010 18:09:55 +0000 (10:09 -0800)]
Include <sys/ioctl.h> unconditionally.

* configure.in <AC_CHECK_HEADERS>: Remove sys/ioctl.h.
* src/xterm.c:
* src/systty.h:
* src/sound.c: Include <sys/ioctl.h> unconditionally.

13 years ago* lisp/eshell/: Use with-silent-modifications.
Stefan Monnier [Tue, 23 Nov 2010 17:36:15 +0000 (12:36 -0500)]
* lisp/eshell/: Use with-silent-modifications.
* lisp/eshell/esh-cmd.el (eshell-parse-command):
* lisp/eshell/esh-arg.el (eshell-parse-arguments):
* lisp/eshell/em-script.el (eshell-source-file):
Use with-silent-modifications.

13 years agoAlways issue a full prompt in vc-merge-branch operation.
Chong Yidong [Tue, 23 Nov 2010 15:13:43 +0000 (10:13 -0500)]
Always issue a full prompt in vc-merge-branch operation.

* vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
for a merge location.

* vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
(vc-bzr-merge-branch): Always prompt.
(vc-bzr-async-command): Use the full branch filename.

13 years ago* lisp/shell.el (shell): Use current-buffer by default if it's already
Stefan Monnier [Tue, 23 Nov 2010 14:19:54 +0000 (09:19 -0500)]
* lisp/shell.el (shell): Use current-buffer by default if it's already
a shell mode buffer and its process is dead.  Suggested by <jemarch@gnu.org>.

13 years agoshr-color.el: fix several function calls.
Julien Danjou [Tue, 23 Nov 2010 10:22:49 +0000 (10:22 +0000)]
shr-color.el: fix several function calls.
shr.el: replace newline with space in style parsing

13 years agoshr.el (shr-color->hexadecimal): Autoload.
Lars Magne Ingebrigtsen [Tue, 23 Nov 2010 08:21:09 +0000 (08:21 +0000)]
shr.el (shr-color->hexadecimal): Autoload.
shr.el (shr-descend): Add color to all tags and remove the tag-font and tag-span functions.

13 years ago* mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Mention
Tassilo Horn [Tue, 23 Nov 2010 08:00:56 +0000 (09:00 +0100)]
* mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Mention
that the keywords should be comma separated.

13 years agoetc/NEWS: Document vc-update and vc-merge changes.
Chong Yidong [Tue, 23 Nov 2010 01:26:02 +0000 (20:26 -0500)]
etc/NEWS: Document vc-update and vc-merge changes.

13 years agoInitial support for unified DVCS pull and merge.
Chong Yidong [Tue, 23 Nov 2010 01:15:08 +0000 (20:15 -0500)]
Initial support for unified DVCS pull and merge.

* lisp/vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
(vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
(vc-bzr-merge-branch): New functions, implementing merge-branch
and pull operations.

* lisp/vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
Accept optional prefix arg meaning to prompt for a command.
(vc-update): Use vc-BACKEND-pull if available.  Accept optional
prefix arg meaning to prompt for a command.
(vc-pull): Alias for vc-update.

13 years agoshr.el (shr-tag-color-check): Convert colors to hexadecimal with shr-color->hexadecimal.
Julien Danjou [Tue, 23 Nov 2010 00:03:44 +0000 (00:03 +0000)]
shr.el (shr-tag-color-check): Convert colors to hexadecimal with shr-color->hexadecimal.
shr-color.el (shr-color->hexadecimal): Add converting functions for RGB() or HSL() color representation.
shr.el (shr-tag-font): Add.
 (shr-tag-color-check): New function to get better colors.
 (shr-tag-insert-color-overlay): Factorize code between tag-font and tag-span.
shr-color.el: New file.
color-lab.el: New file.

13 years ago* lisp/Makefile.in: Fix up last merge.
Stefan Monnier [Mon, 22 Nov 2010 22:09:17 +0000 (17:09 -0500)]
* lisp/Makefile.in: Fix up last merge.

13 years agoCleanup diff-buffer-with-file.
Stefan Monnier [Mon, 22 Nov 2010 19:22:03 +0000 (14:22 -0500)]
Cleanup diff-buffer-with-file.
* lisp/vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
(diff-sentinel): Get them as arguments instead.
(diff-old-file, diff-new-file, diff-extra-args): Remove.
(diff-file-local-copy, diff-better-file-name): New funs.
(diff-no-select): Rename from diff-into-buffer.
Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
Prefer closures to buffer-local variables.
(diff): Adjust accordingly.
(diff-buffer-with-file): Move from files.el.
* lisp/files.el (diff-buffer-with-file): Move to vc/diff.el.
(diff-buffer-internal): Remove.
(diff-buffer-buffer): Remove.
(save-some-buffers-action-alist): Use diff-no-select so as not to guess
the buffer name used, and so as not to mess up windows and frames.

13 years agow32.c: Fix a typo in a comment.
Eli Zaretskii [Mon, 22 Nov 2010 18:15:07 +0000 (20:15 +0200)]
w32.c: Fix a typo in a comment.

13 years ago* lisp/gnus/ChangeLog: Improve style.
Stefan Monnier [Mon, 22 Nov 2010 18:00:40 +0000 (13:00 -0500)]
* lisp/gnus/ChangeLog: Improve style.

13 years ago* lisp/files.el: Make revert work with diff-buffer-with-file.
Bob Rogers [Mon, 22 Nov 2010 17:57:46 +0000 (12:57 -0500)]
* lisp/files.el: Make revert work with diff-buffer-with-file.
(diff-buffer-internal): New function extracted from diff-buffer-with-file
(diff-buffer-with-file): Use it.
* lisp/vc/diff.el (diff-into-buffer): New fun, extracted from diff.
(diff): Use it.

Fixes: debbugs:7277

13 years agognus-art.el (gnus-url-mailto): Do not downcase args.
Julien Danjou [Mon, 22 Nov 2010 11:33:06 +0000 (11:33 +0000)]
gnus-art.el (gnus-url-mailto): Do not downcase args.

13 years ago* textmodes/reftex-ref.el (reftex-goto-label): Use the current
Tassilo Horn [Mon, 22 Nov 2010 08:09:41 +0000 (09:09 +0100)]
* textmodes/reftex-ref.el (reftex-goto-label): Use the current
\ref's or \pageref's value as default instead of initial input.

13 years ago* alloc.c (mark_maybe_object): Return early if given a Lisp integer (Bug#6301).
YAMAMOTO Mitsuharu [Mon, 22 Nov 2010 00:43:53 +0000 (19:43 -0500)]
* alloc.c (mark_maybe_object): Return early if given a Lisp integer (Bug#6301).

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Sun, 21 Nov 2010 22:46:16 +0000 (22:46 +0000)]
Merge changes made in Gnus trunk.

nnir.el: Fix typo in comments.
 (nnir-run-imap): Simplify code. No need to reverse artlist.
 (nnir-run-gmane): Use nnir-tmp-buffer for web results.
gnus-srvr.el (gnus-server-show-server): New command and keystroke.
nnimap.el (nnimap-get-capabilities): Refactor out.
 (nnimap-open-connection): Re-request capabilities after STARTTLS.
gnus.texi (Server Commands): Document gnus-server-show-server.

13 years agoThe default value of `backup-by-copying-when-mismatch' is now t.
Michael Albinus [Sun, 21 Nov 2010 19:46:48 +0000 (20:46 +0100)]
The default value of `backup-by-copying-when-mismatch' is now t.

13 years ago* files.el (backup-by-copying-when-mismatch): The default value is
Michael Albinus [Sun, 21 Nov 2010 19:39:21 +0000 (20:39 +0100)]
* files.el (backup-by-copying-when-mismatch): The default value is
now t.

* startup.el (normal-top-level):
* net/tramp.el (tramp-handle-insert-file-contents): Do not set
`backup-by-copying-when-mismatch'.

13 years ago* tool-bar.el (tool-bar-setup): Remove save as, print and customize.
Jan Djärv [Sun, 21 Nov 2010 18:29:08 +0000 (19:29 +0100)]
* tool-bar.el (tool-bar-setup): Remove save as, print and customize.

13 years agoHighlight top-level augmented assignments in Python (Bug#6445).
Chong Yidong [Sun, 21 Nov 2010 17:12:44 +0000 (12:12 -0500)]
Highlight top-level augmented assignments in Python (Bug#6445).

* progmodes/python.el (python-font-lock-keywords): Highlight
top-level augmented assignments (Bug#6445).

13 years ago* src/sheap.c (STATIC_HEAP_SIZE): Revert previous change.
Ken Brown [Sun, 21 Nov 2010 15:46:23 +0000 (10:46 -0500)]
* src/sheap.c (STATIC_HEAP_SIZE): Revert previous change.

13 years agons_appbindir must end in /.
Jan Djärv [Sun, 21 Nov 2010 14:39:55 +0000 (15:39 +0100)]
ns_appbindir must end in /.

13 years agoAdd separate key mappings for left/right control/command on Nextstep (Bug#7458).
Jan Djärv [Sun, 21 Nov 2010 13:09:34 +0000 (14:09 +0100)]
Add separate key mappings for left/right control/command on Nextstep (Bug#7458).

* lisp/cus-start.el (all): Add ns-right-control-modifier and
ns-right-command-modifier.

* lisp/term/ns-win.el (ns-right-control-modifier)
(ns-right-command-modifier): Defvar them.

* src/nsterm.m (ns_right_command_modifier, ns_right_control_modifier):
Define (Bug#7458).
(NSRightCommandKeyMask, NSRightControlKeyMask): Define (Bug#7458).
(EV_MODIFIERS): Check for NSRightCommandKeyMask and
NSRightControlKeyMask also (Bug#7458).
(keyDown): Ditto (Bug#7458).
(syms_of_nsterm): Defvar ns-right-command-modifier and
ns-right-control-modifier (Bug#7458).

13 years agoGnus: Fix display of message insertion marks.
Ralf Angeli [Sun, 21 Nov 2010 08:51:04 +0000 (09:51 +0100)]
Gnus: Fix display of message insertion marks.

13 years agonnimap.el (nnimap-unselect-group): Made into its own function.
Lars Magne Ingebrigtsen [Sun, 21 Nov 2010 07:11:35 +0000 (07:11 +0000)]
nnimap.el (nnimap-unselect-group): Made into its own function.
 (nnimap-request-rename-group): Unselect group before renaming.  This had gotten lost somewhere.
 (nnimap-request-accept-article): Keep track of examined groups, and unselect the group before APPENDing to read-only groups.
 (nnimap-request-move-article): Clear flags before moving so that they can be re-set later.

13 years agoRemove emacs-priority.
Dan Nicolaescu [Sun, 21 Nov 2010 05:39:01 +0000 (21:39 -0800)]
Remove emacs-priority.

* src/sysdep.c (sys_subshell): Remove SET_EMACS_PRIORITY.
* src/emacs.c (emacs_priority, syms_of_emacs): Remove emacs_priority.

13 years agoRemove INLINE uses in header files.
Dan Nicolaescu [Sun, 21 Nov 2010 05:20:50 +0000 (21:20 -0800)]
Remove INLINE uses in header files.

* src/intervals.h (temp_set_point, temp_set_point_both):
* src/buffer.h (offset_intervals, copy_intervals): Remove INLINE.

13 years ago* configure.in (INLINE): Do not depend on OPTIMIZE, unused.
Dan Nicolaescu [Sun, 21 Nov 2010 05:17:19 +0000 (21:17 -0800)]
* configure.in (INLINE): Do not depend on OPTIMIZE, unused.

13 years agodiary-lib comments.
Glenn Morris [Sat, 20 Nov 2010 22:29:35 +0000 (14:29 -0800)]
diary-lib comments.

13 years agoTiny authors.el updates.
Glenn Morris [Sat, 20 Nov 2010 22:27:56 +0000 (14:27 -0800)]
Tiny authors.el updates.
* lisp/emacs-lisp/authors.el (authors-ignored-files)
(authors-valid-file-names, authors-renamed-files-alist): Add entries.

13 years agoChangeLog fixes prompted by M-x authors.
Glenn Morris [Sat, 20 Nov 2010 22:25:56 +0000 (14:25 -0800)]
ChangeLog fixes prompted by M-x authors.

13 years ago* mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
Tassilo Horn [Sat, 20 Nov 2010 17:32:57 +0000 (18:32 +0100)]
* mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
(report-emacs-bug-parse-query-results)
(report-emacs-bug-create-existing-bugs-buffer): Pass through
keywords used for querying the bug database to show them in the
existing bugs buffer.

13 years ago* src/sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.
Ken Brown [Sat, 20 Nov 2010 15:23:49 +0000 (10:23 -0500)]
* src/sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.

13 years agoUse \uNNNN, \UNNNNNN, or \xNNNNNN for hex-code display on a TTY.
Eli Zaretskii [Sat, 20 Nov 2010 15:04:50 +0000 (17:04 +0200)]
Use \uNNNN, \UNNNNNN, or \xNNNNNN for hex-code display on a TTY.

 term.c (produce_glyphless_glyph): Use \uNNNN, \UNNNNNN, or
 \xNNNNNN for hex-code display of glyphless characters.

13 years agoAdd keyword :vert-only for tool bar items with labels not shown horizontally.
Jan Djärv [Sat, 20 Nov 2010 14:51:25 +0000 (15:51 +0100)]
Add keyword :vert-only for tool bar items with labels not shown horizontally.

* lisp/info.el (info-tool-bar-map): Add some :vert-only keywords.

* lisp/tool-bar.el (tool-bar-setup): Add some :vert-only keywords.

* src/dispextern.h (tool_bar_item_idx): Add TOOL_BAR_ITEM_VERT_ONLY.

* src/gtkutil.c (xg_make_tool_item): Take vert_only as argument.
Set important to ! vert_only.
(xg_show_toolbar_item): Don't show label horizontally if
tool item isn't important.
(update_frame_tool_bar): Get TOOL_BAR_ITEM_VERT_ONLY and pass it to
xg_make_tool_item, or update important on existing tool item.

* src/keyboard.c (QCvert_only): New variable.
(parse_tool_bar_item): Check for QCvert_only.
(syms_of_keyboard): Initialize QCvert_only.

13 years agoMake glyphless-char-display-control a defcustom.
Eli Zaretskii [Sat, 20 Nov 2010 14:35:45 +0000 (16:35 +0200)]
Make glyphless-char-display-control a defcustom.

 international/characters.el (glyphless-char-display-control):
 Make it a defcustom, with update-glyphless-char-display as its
 :set attribute.
 (top level): Don't call update-glyphless-char-display.

13 years agoSync with Tramp 2.2.0.
Michael Albinus [Sat, 20 Nov 2010 13:17:25 +0000 (14:17 +0100)]
Sync with Tramp 2.2.0.

* trampver.texi: Update release number.

13 years agoSync with Tramp 2.2.0.
Michael Albinus [Sat, 20 Nov 2010 13:12:27 +0000 (14:12 +0100)]
Sync with Tramp 2.2.0.

* net/tramp.el (tramp-handle-insert-file-contents): Don't use
`file-remote-p' (due to compatibility).

* net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
(tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.

* net/trampver.el: Update release number.

13 years agolisp/ChangeLog: Fix entry for bug-querying changes.
Eli Zaretskii [Sat, 20 Nov 2010 11:52:09 +0000 (13:52 +0200)]
lisp/ChangeLog: Fix entry for bug-querying changes.

13 years agofaces.el (glyphless-char): Define value for `pc'.
Eli Zaretskii [Sat, 20 Nov 2010 11:47:49 +0000 (13:47 +0200)]
faces.el (glyphless-char): Define value for `pc'.

13 years agomsdos.c (dos_rawgetc): Use gen_help_event, instead of doing the same in-line.
Eli Zaretskii [Sat, 20 Nov 2010 11:45:14 +0000 (13:45 +0200)]
msdos.c (dos_rawgetc): Use gen_help_event, instead of doing the same in-line.

13 years ago* mail/emacsbug.el (report-emacs-bug-tracker-url)
Tassilo Horn [Sat, 20 Nov 2010 11:39:44 +0000 (12:39 +0100)]
* mail/emacsbug.el (report-emacs-bug-tracker-url)
(report-emacs-bug-create-existing-bugs-buffer)
(report-emacs-bug-parse-query-results)
(report-emacs-bug-query-existing-bugs): Implemented a bug querying
mechanism.

13 years agomsdos.c (dos_rawgetc): Use gen_help_event, instead of doing the same in-line.
Eli Zaretskii [Sat, 20 Nov 2010 11:24:28 +0000 (13:24 +0200)]
msdos.c (dos_rawgetc): Use gen_help_event, instead of doing the same in-line.

13 years ago* src/xfaces.c (lookup_face): Make static.
Andreas Schwab [Sat, 20 Nov 2010 10:07:00 +0000 (11:07 +0100)]
* src/xfaces.c (lookup_face): Make static.
* src/dispnew.c (copy_row_except_pointers): Likewise.
* src/syntax.c (dec_bytepos): Likewise.
(inc_bytepos): Remove.
* src/dispextern.h (lookup_face): Remove declaration.

13 years agognus-gravatar.el (gnus-gravatar-transform-address): Decode name again.
Katsumi Yamaoka [Sat, 20 Nov 2010 01:18:17 +0000 (01:18 +0000)]
gnus-gravatar.el (gnus-gravatar-transform-address): Decode name again.
 (gnus-gravatar-insert): Put avatar always in the beginning of the field.

13 years agoFix bug #6687 with cursor positioning after before-string from overlays.
Eli Zaretskii [Fri, 19 Nov 2010 16:34:22 +0000 (18:34 +0200)]
Fix bug #6687 with cursor positioning after before-string from overlays.

 xdisp.c (set_cursor_from_row): Display cursor after all the
 glyphs that come from an overlay.  Don't overstep the last glyph
 when skipping glyphs from an overlay.

13 years agolisp/ldefs-boot.el: Regenerate.
Juanma Barranquero [Fri, 19 Nov 2010 13:25:17 +0000 (14:25 +0100)]
lisp/ldefs-boot.el: Regenerate.

13 years ago* textmodes/reftex-ref.el (reftex-goto-label): If point is inside
Tassilo Horn [Fri, 19 Nov 2010 11:18:15 +0000 (12:18 +0100)]
* textmodes/reftex-ref.el (reftex-goto-label): If point is inside
a \ref{} or \pageref{} macro, then use its value as initial input.

13 years agognus-html.el (gnus-html-prefetch-images): Fix last change.
Katsumi Yamaoka [Fri, 19 Nov 2010 05:11:59 +0000 (05:11 +0000)]
gnus-html.el (gnus-html-prefetch-images): Fix last change.

13 years agoAssume that gnus-inhibit-images may be a group parameter.
Katsumi Yamaoka [Fri, 19 Nov 2010 04:55:16 +0000 (04:55 +0000)]
Assume that gnus-inhibit-images may be a group parameter.

gnus-art.el (gnus-mime-display-single)
gnus-html.el (gnus-html-wash-images, gnus-html-prefetch-images)
mm-decode.el (mm-shr): Assume that gnus-inhibit-images may be a group parameter.

13 years agocalc.texi (TeX and LaTeX Language Modes, Predefined Units):
Jay Belanger [Fri, 19 Nov 2010 01:14:36 +0000 (19:14 -0600)]
calc.texi (TeX and LaTeX Language Modes, Predefined Units):
calc-units.el (math-build-units-table-buffer):
README: Mention that the TeX specific units won't use the `tex' prefix
in TeX mode.

calc-lang.el (math-variable-table): Don't use the `tex' prefix for
units in TeX mode.

13 years ago* src/alloc.c (refill_memory_reserve): Move declaration ...
Dan Nicolaescu [Thu, 18 Nov 2010 21:45:03 +0000 (13:45 -0800)]
* src/alloc.c (refill_memory_reserve): Move declaration ...
* src/lisp.h (refill_memory_reserve): ... here.

13 years ago* src/strftime.c (_strftime_copytm): Add declaration.
Dan Nicolaescu [Thu, 18 Nov 2010 21:39:15 +0000 (13:39 -0800)]
* src/strftime.c (_strftime_copytm): Add declaration.

13 years ago* src/callproc.c (syms_of_callproc): Use intern_c_string.
Dan Nicolaescu [Thu, 18 Nov 2010 16:59:12 +0000 (08:59 -0800)]
* src/callproc.c (syms_of_callproc): Use intern_c_string.

13 years agoMove declarations from .c files to .h files.
Dan Nicolaescu [Thu, 18 Nov 2010 16:57:00 +0000 (08:57 -0800)]
Move declarations from .c files to .h files.

* src/process.c (timers_run):
* src/minibuf.c (quit_char):
* src/lread.c (read_emacs_mule_char):
* src/keyboard.c (minibuf_level, message_enable_multibyte)
(pending_malloc_warning):
* src/insdel.c (Vselect_active_regions, Vsaved_region_selection)
(Qonly): Remove declarations.
* src/lisp.h (pending_malloc_warning, Vsaved_region_selection)
(Vselect_active_regions):
* src/keyboard.h (timers_run):  Add declarations.

13 years agoConvert definitions to standard C.
Dan Nicolaescu [Thu, 18 Nov 2010 16:49:30 +0000 (08:49 -0800)]
Convert definitions to standard C.

* src/strftime.c (my_strftime_gmtime_r, my_strftime_localtime_r)
(tm_diff): Convert definitions to standard C.
(extra_args_spec_iso): Remove, unused.

13 years agoshr.el: Allow customizing the vertical table lines.
Lars Magne Ingebrigtsen [Thu, 18 Nov 2010 06:34:02 +0000 (06:34 +0000)]
shr.el: Allow customizing the vertical table lines.

shr.el (shr-table-horizontal-line): Renamed from shr-table-line.
 (shr-table-vertical-line): New variable.
 (shr-insert-table): Use it.

13 years agoMerge from emacs-23
Stefan Monnier [Thu, 18 Nov 2010 03:54:14 +0000 (22:54 -0500)]
Merge from emacs-23

13 years ago* comint.el (comint-kill-region): Fix last change.
Stefan Monnier [Thu, 18 Nov 2010 03:44:35 +0000 (22:44 -0500)]
* comint.el (comint-kill-region): Fix last change.

13 years ago* lisp/textmodes/rst.el: Minor cleanup to improve style.
Stefan Monnier [Thu, 18 Nov 2010 03:02:15 +0000 (22:02 -0500)]
* lisp/textmodes/rst.el: Minor cleanup to improve style.
(rst-get-decoration): Eliminate unneeded assignment.
(rst-update-section, rst-promote-region, rst-straighten-decorations)
(rst-section-tree, rst-adjust): Use point-marker.
(rst-toc-mode-mouse-goto): Avoid setq.
(rst-shift-region-guts, rst-shift-region-left)
(rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
(rst-convert-bullets-to-enumeration): Use copy-marker.

13 years ago* lisp/minibuffer.el (completion-fail-discreetly): New var.
Stefan Monnier [Thu, 18 Nov 2010 02:44:44 +0000 (21:44 -0500)]
* lisp/minibuffer.el (completion-fail-discreetly): New var.
(completion--do-completion): Use it.

13 years ago* lisp/electric.el (electric-pair-pairs): New var.
Stefan Monnier [Thu, 18 Nov 2010 02:43:42 +0000 (21:43 -0500)]
* lisp/electric.el (electric-pair-pairs): New var.
(electric-pair-post-self-insert-function): Use it.
(electric-layout-post-self-insert-function): Don't insert a before
newline unless it's actually needed.

13 years agognus.texi (Misc Article): Document gnus-inhibit-images.
Katsumi Yamaoka [Thu, 18 Nov 2010 02:38:03 +0000 (02:38 +0000)]
gnus.texi (Misc Article): Document gnus-inhibit-images.

13 years agoMake the yank-handler argument obsolete.
Stefan Monnier [Thu, 18 Nov 2010 02:09:41 +0000 (21:09 -0500)]
Make the yank-handler argument obsolete.
* simple.el (kill-new, kill-append, kill-region):
* comint.el (comint-kill-region): Make the yank-handler argument obsolete.

13 years agognus-html.el: Don't display images if gnus-inhibit-images is non-nil.
Katsumi Yamaoka [Thu, 18 Nov 2010 02:00:00 +0000 (02:00 +0000)]
gnus-html.el: Don't display images if gnus-inhibit-images is non-nil.

(gnus-html-wash-images): Don't display images if gnus-inhibit-images is non-nil; register displayer for cid images.
(gnus-html-display-image): Work for cid image.
(gnus-html-insert-image): Allow arguments.
(gnus-html-put-image): Inhibit read-only.
(gnus-html-prefetch-images): Don't prefetch images if gnus-inhibit-images is non-nil.