]> git.eshelyaron.com Git - emacs.git/log
emacs.git
13 years agoImprove quality of tests for time stamp overflow.
Paul Eggert [Sun, 13 Mar 2011 06:43:00 +0000 (22:43 -0800)]
Improve quality of tests for time stamp overflow.

13 years ago* editfns.c (lisp_time_argument): Check for time stamp overflow.
Paul Eggert [Sun, 13 Mar 2011 06:27:18 +0000 (22:27 -0800)]
* editfns.c (lisp_time_argument): Check for time stamp overflow.

13 years agoMerge changes made in Gnus trunk.
Teodor Zlatanov [Sun, 13 Mar 2011 04:07:38 +0000 (04:07 +0000)]
Merge changes made in Gnus trunk.

auth.texi (Help for developers): Update docs to explain that the :save-function will only run the first time.
auth-source.el (auth-source-format-prompt): Always convert the value to a string to avoid evaluating non-string arguments.
 (auth-source-netrc-create): Offer default properly, not as initial content in `read-string'.
 (auth-source-netrc-saver): Use a cache keyed by file name and MD5 hash of line to determine if we've been run before.  If so, don't run again, but print a trivial message to indicate the cache was hit instead.

13 years agoadmin/admin.el: Add some code for deploying web manuals.
Chong Yidong [Sun, 13 Mar 2011 03:50:33 +0000 (22:50 -0500)]
admin/admin.el: Add some code for deploying web manuals.

13 years agolisp/help.el (describe-mode): Link to the mode's definition.
Juanma Barranquero [Sun, 13 Mar 2011 01:57:40 +0000 (02:57 +0100)]
lisp/help.el (describe-mode): Link to the mode's definition.

Fixes: debbugs:8185
13 years ago* editfns.c (hi_time): Do not overparenthesize.
Paul Eggert [Sat, 12 Mar 2011 22:52:25 +0000 (14:52 -0800)]
* editfns.c (hi_time): Do not overparenthesize.

13 years agoMerge from emacs-23; up to 2010-06-03T22:16:02Z!dann@ics.uci.edu
Glenn Morris [Sat, 12 Mar 2011 19:19:47 +0000 (11:19 -0800)]
Merge from emacs-23; up to 2010-06-03T22:16:02Z!dann@ics.uci.edu

13 years agoSome more html rules for doc/misc/Makefile.in.
Glenn Morris [Sat, 12 Mar 2011 18:40:08 +0000 (10:40 -0800)]
Some more html rules for doc/misc/Makefile.in.

* doc/misc/Makefile.in (emacs-faq.html): Fix some more cross-refs.
(emacs-faq.text): New target.
(clean): Add emacs-faq.

13 years agoFix typos.
Juanma Barranquero [Sat, 12 Mar 2011 15:38:34 +0000 (16:38 +0100)]
Fix typos.

13 years agolisp/vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
Juanma Barranquero [Sat, 12 Mar 2011 15:26:33 +0000 (16:26 +0100)]
lisp/vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).

13 years agoSync with Tramp 2.2.1.
Michael Albinus [Sat, 12 Mar 2011 15:22:10 +0000 (16:22 +0100)]
Sync with Tramp 2.2.1.

* trampver.texi: Update release number.

13 years agoSync with Tramp 2.2.1.
Michael Albinus [Sat, 12 Mar 2011 15:19:29 +0000 (16:19 +0100)]
Sync with Tramp 2.2.1.

* net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.

* net/trampver.el: Update release number.

13 years ago* net/tramp.el (tramp-progress-reporter-update): Use
Michael Albinus [Sat, 12 Mar 2011 13:26:19 +0000 (14:26 +0100)]
* net/tramp.el (tramp-progress-reporter-update): Use
`tramp-compat-funcall'.
(tramp-handle-start-file-process): Use `tramp-compat-process-get'.
(tramp-handle-insert-file-contents): Make `file-remote-p' call
compatible.
(tramp-open-connection-setup-interactive-shell): Use
`tramp-compat-process-put'.

* net/tramp-compat.el (tramp-compat-process-get)
(tramp-compat-process-put): New defuns.

* net/trampver.el: Update release number.

Please do not merge with the trunk.

13 years agoRemove arch-tag.
Michael Albinus [Sat, 12 Mar 2011 13:17:54 +0000 (14:17 +0100)]
Remove arch-tag.

* trampver.texi: Update release number.

13 years agosrc/ChangeLog: Fix last entry for deps.mk.
Eli Zaretskii [Sat, 12 Mar 2011 12:05:05 +0000 (14:05 +0200)]
src/ChangeLog: Fix last entry for deps.mk.

13 years agoMake termcap.c implementations consistent with tparam.h prototypes.
Eli Zaretskii [Sat, 12 Mar 2011 12:03:24 +0000 (14:03 +0200)]
Make termcap.c implementations consistent with tparam.h prototypes.

 src/termcap.c [MSDOS]: Include "msdos.h.
 (find_capability, tgetnum, tgetflag, tgetstr, tputs, tgetent):
 Constify `char *' arguments and their references according to
 prototypes in tparam.h.
 src/deps.mk (termcap.o): Depend on tparam.h and msdos.h.

13 years agoFix compilation warnings on MS-DOS due to constifying of pointers in xmenu.c.
Eli Zaretskii [Sat, 12 Mar 2011 10:51:31 +0000 (12:51 +0200)]
Fix compilation warnings on MS-DOS due to constifying of pointers in xmenu.c.

 src/msdos.c (XMenuAddPane): 3rd argument is `const char *' now.
 Adapt all references accordingly.
 src/msdos.h (XMenuAddPane): 3rd argument is `const char *' now.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Sat, 12 Mar 2011 08:53:34 +0000 (08:53 +0000)]
Merge changes made in Gnus trunk.

gnus-sync.el (gnus-sync-install-hooks, gnus-sync-unload-hook): Don't install `gnus-sync-read' to any hooks by default.  It's buggy.  The user will have to run `gnus-sync-read' manually and wait for Cloudy Gnus.
mm-uu.el (mm-uu-type-alist): Add support for diff starting with "=== modified file".

13 years agoImprove quality of tests for time stamp overflow. For example,
Paul Eggert [Sat, 12 Mar 2011 06:49:53 +0000 (22:49 -0800)]
Improve quality of tests for time stamp overflow.  For example,

without this patch (encode-time 0 0 0 1 1 1152921504606846976)
returns the obviously-bogus value (-948597 62170) on my RHEL 5.5
x86-64 host.  With it, it reports time overflow.
* deps.mk (editfns.o): Depend on ../lib/intprops.h.
* editfns.c: Include limits.h and intprops.h.
(TIME_T_MIN, TIME_T_MAX): New macros.
(time_overflow): Move earlier, to before first use.
(hi_time, lo_time): New functions, for an accurate test for
out-of-range times.
(Fcurrent_time, Fget_internal_run_time, make_time): Use them.
(Fget_internal_run_time): Don't assume time_t fits in int.
(make_time): Use list2 instead of Fcons twice.
(Fdecode_time): More accurate test for out-of-range times.
(check_tm_member): New function.
(Fencode_time): Use it, to test for out-of-range times.

13 years ago* lisp/progmodes/compile.el (compilation--previous-directory): Fix up
Stefan Monnier [Sat, 12 Mar 2011 04:29:22 +0000 (23:29 -0500)]
* lisp/progmodes/compile.el (compilation--previous-directory): Fix up
various nil/dead-marker mismatches.
(compilation-directory-properties, compilation-error-properties):
Don't call it at a position past the one we're about to change.

Fixes: debbugs:8014
13 years ago* lisp/emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
Stefan Monnier [Sat, 12 Mar 2011 02:59:24 +0000 (21:59 -0500)]
* lisp/emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
Disable obsolescence warnings in the file that declares it.

13 years ago* lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
Stefan Monnier [Sat, 12 Mar 2011 02:49:29 +0000 (21:49 -0500)]
* lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
into declaration.  Remove redundant and harmful binding.

13 years agoadmin/notes/elpa: Make Bzr checkout directions more explicit.
Chong Yidong [Fri, 11 Mar 2011 22:53:47 +0000 (17:53 -0500)]
admin/notes/elpa: Make Bzr checkout directions more explicit.

13 years ago* editfns.c (time_overflow): New function, refactoring common code.
Paul Eggert [Fri, 11 Mar 2011 20:31:59 +0000 (12:31 -0800)]
* editfns.c (time_overflow): New function, refactoring common code.

(Fformat_time_string, Fdecode_time, Fencode_time):
(Fcurrent_time_string): Use it.

13 years agoMove 'make_time' to be next to its inverse 'lisp_time_argument'.
Paul Eggert [Fri, 11 Mar 2011 20:24:09 +0000 (12:24 -0800)]
Move 'make_time' to be next to its inverse 'lisp_time_argument'.

* dired.c (make_time): Move to ...
* editfns.c (make_time): ... here.
* systime.h: Note the move.

13 years ago* allout-widgets.el (allout-widgets-tally) Initialize allout-widgets-tally
Ken Manheimer [Fri, 11 Mar 2011 18:46:12 +0000 (13:46 -0500)]
* allout-widgets.el (allout-widgets-tally) Initialize allout-widgets-tally
as a hash table rather than nil to prevent mode-line redisplay warnings.
Also, clarify the module description and fix a comment typoo (sic).

13 years agoBump version to 23.3.50
Chong Yidong [Fri, 11 Mar 2011 17:17:33 +0000 (12:17 -0500)]
Bump version to 23.3.50

13 years ago* buffer.c (syms_of_buffer): Remove obsolete comment.
Tom Tromey [Fri, 11 Mar 2011 16:49:16 +0000 (09:49 -0700)]
* buffer.c (syms_of_buffer): Remove obsolete comment.

13 years agoBackport 2011-03-08T01:52:20Z!lekktu@gmail.com from trunk.
Juanma Barranquero [Fri, 11 Mar 2011 15:42:12 +0000 (16:42 +0100)]
Backport 2011-03-08T01:52:20Z!lekktu@gmail.com from trunk.

* src/w32xfns.c (select_palette): Check success of RealizePalette against
  GDI_ERROR, not zero.

13 years agoBackport 2011-03-01T03:59:31Z!lekktu@gmail.com from trunk.
Juanma Barranquero [Fri, 11 Mar 2011 15:34:07 +0000 (16:34 +0100)]
Backport 2011-03-01T03:59:31Z!lekktu@gmail.com from trunk.

*lisp/emacs-lisp/cl-macs.el (lexical-let*): Fix argument name in docstring.

13 years agoBackport 2011-03-11T00:33:57Z!lekktu@gmail.com from trunk.
Juanma Barranquero [Fri, 11 Mar 2011 14:05:31 +0000 (15:05 +0100)]
Backport 2011-03-11T00:33:57Z!lekktu@gmail.com from trunk.

* lisp/help-fns.el (describe-variable): Don't complete keywords.

13 years agoFix comparisons of file ownership on MS-Windows for the Administrator user.
Eli Zaretskii [Fri, 11 Mar 2011 12:19:08 +0000 (14:19 +0200)]
Fix comparisons of file ownership on MS-Windows for the Administrator user.

 lisp/files.el (file-ownership-preserved-p): Pass `integer' as an
 explicit 2nd argument to `file-attributes'.  If the file's owner
 is the Administrators group on Windows, and the current user is
 Administrator, consider that a match.
 lisp/server.el (server-ensure-safe-dir): Consider server directory
 safe on MS-Windows if its owner is the Administrators group while
 the current Emacs user is Administrator.  Use `=' to compare
 numerical UIDs, since they could be integers or floats.

13 years agoFix bug #8221 with description of how HOME is set on Windows.
Eli Zaretskii [Fri, 11 Mar 2011 11:17:24 +0000 (13:17 +0200)]
Fix bug #8221 with description of how HOME is set on Windows.

 doc/emacs/msdog.texi (Windows HOME): Fix the wording to clarify how
 Emacs sets HOME on Windows and where it looks for init files.

13 years agoFix MS-Windows build broken by 2011-03-11T07:24:21Z!eggert@cs.ucla.edu.
Eli Zaretskii [Fri, 11 Mar 2011 09:41:56 +0000 (11:41 +0200)]
Fix MS-Windows build broken by 2011-03-11T07:24:21Z!eggert@cs.ucla.edu.

 src/term.c (encode_terminal_code): Now external again, used by
 w32console.c and msdos.c.
 src/termhooks.h (encode_terminal_code): Declare prototype.
 src/msdos.c (encode_terminal_code): Don't declare prototype.
 src/makefile.w32-in ($(BLD)/term.$(O), ($(BLD)/tparam.$(O)): Depend
 on $(SRC)/tparam.h, see 2011-03-11T07:24:21Z!eggert@cs.ucla.edu.

13 years agoFix previous change.
Glenn Morris [Fri, 11 Mar 2011 09:07:33 +0000 (01:07 -0800)]
Fix previous change.

13 years agoAdd Makefile rules for generating html version of Emacs FAQ.
Glenn Morris [Fri, 11 Mar 2011 09:02:58 +0000 (01:02 -0800)]
Add Makefile rules for generating html version of Emacs FAQ.

* doc/misc/Makefile.in (HTML_TARGETS): New.
(clean): Delete $HTML_TARGETS.
(emacs-faq.html): New, for use with the gnu.org Emacs webpage.

13 years agoFix some minor problems found by GCC 4.5.2's static checks.
Paul Eggert [Fri, 11 Mar 2011 07:24:21 +0000 (23:24 -0800)]
Fix some minor problems found by GCC 4.5.2's static checks.

13 years agoMerge: Minor changes for problems found by GCC 4.5.2's static checks.
Paul Eggert [Fri, 11 Mar 2011 06:57:50 +0000 (22:57 -0800)]
Merge: Minor changes for problems found by GCC 4.5.2's static checks.

13 years agoAdd bug#s.
Paul Eggert [Fri, 11 Mar 2011 06:41:50 +0000 (22:41 -0800)]
Add bug#s.

13 years ago* fringe.c: Add comment.
Paul Eggert [Fri, 11 Mar 2011 06:23:26 +0000 (22:23 -0800)]
* fringe.c: Add comment.

13 years ago* fringe.c (update_window_fringes): Mark locals as initialized
Paul Eggert [Fri, 11 Mar 2011 06:06:36 +0000 (22:06 -0800)]
* fringe.c (update_window_fringes): Mark locals as initialized

13 years ago* src/fringe.c (update_window_fringes): Remove unused variables.
YAMAMOTO Mitsuharu [Fri, 11 Mar 2011 03:56:20 +0000 (12:56 +0900)]
* src/fringe.c (update_window_fringes): Remove unused variables.

13 years ago* src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223)
YAMAMOTO Mitsuharu [Fri, 11 Mar 2011 01:43:49 +0000 (10:43 +0900)]
* src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223)

13 years agolisp/help-fns.el (describe-variable): Don't complete keywords.
Juanma Barranquero [Fri, 11 Mar 2011 00:33:57 +0000 (01:33 +0100)]
lisp/help-fns.el (describe-variable): Don't complete keywords.

13 years ago* .gdbinit (pwinx, xbuffer): Fix access to buffer name.
Andreas Schwab [Fri, 11 Mar 2011 00:19:57 +0000 (01:19 +0100)]
* .gdbinit (pwinx, xbuffer): Fix access to buffer name.

13 years agoFix package.el handling of version numbers like 1.0pre6.
Chong Yidong [Thu, 10 Mar 2011 23:40:46 +0000 (18:40 -0500)]
Fix package.el handling of version numbers like 1.0pre6.

* lisp/emacs-lisp/package.el (package-version-join): Impose a standard
string representation for pre/alpha/beta version lists.
(package-unpack-single): Standardize the directory name by passing
it through package-version-join.

13 years agoFix package-strip-rcs-id to be more robust.
Chong Yidong [Thu, 10 Mar 2011 21:51:26 +0000 (16:51 -0500)]
Fix package-strip-rcs-id to be more robust.

See http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00396.html

* lisp/emacs-lisp/package.el (package-strip-rcs-id): Accept any version
string that does not signal an error in version-to-list.

13 years ago* fringe.c (update_window_fringes): Initialize top_row_ends_at_zv_p and
Paul Eggert [Thu, 10 Mar 2011 21:46:21 +0000 (13:46 -0800)]
* fringe.c (update_window_fringes): Initialize top_row_ends_at_zv_p and

bot_row_ends_at_zv_p, with a FIXME comment.

13 years agoauth-source.el (auth-source-read-char-choice): Remove `dropdown-list'.
Teodor Zlatanov [Thu, 10 Mar 2011 13:32:49 +0000 (13:32 +0000)]
auth-source.el (auth-source-read-char-choice): Remove `dropdown-list'.
 (auth-source-pick-first-password): New convenience function.

13 years ago* simple.el (delete-trailing-whitespace): Return nil for the
Michael Albinus [Thu, 10 Mar 2011 11:28:33 +0000 (12:28 +0100)]
* simple.el (delete-trailing-whitespace): Return nil for the
benefit of `write-file-functions'.

13 years ago* lisp/vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
Glenn Morris [Thu, 10 Mar 2011 08:32:27 +0000 (00:32 -0800)]
* lisp/vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.

13 years agoAdd `vc-git-program' option; suggested on emacs-devel.
Glenn Morris [Thu, 10 Mar 2011 08:26:41 +0000 (00:26 -0800)]
Add `vc-git-program' option; suggested on emacs-devel.

* lisp/vc/vc-git.el (vc-git-program): New option.
(vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
(vc-git--call): Use it.

13 years ago* lisp/eshell/esh-util.el (eshell-condition-case): Doc fix.
Glenn Morris [Thu, 10 Mar 2011 07:16:04 +0000 (23:16 -0800)]
* lisp/eshell/esh-util.el (eshell-condition-case): Doc fix.

13 years agoFix non-ASCII characters in User and ELisp manuals.
Eli Zaretskii [Thu, 10 Mar 2011 05:48:33 +0000 (00:48 -0500)]
Fix non-ASCII characters in User and ELisp manuals.

 doc/lispref/modes.texi (Operator Precedence Grammars): Don't use characters
 outside ISO-8859-1.
 doc/emacs/search.texi (Regexp Example):
 doc/emacs/mule.texi (International Chars):
 doc/emacs/building.texi (External Lisp): Don't use characters outside
 ISO-8859-1.

13 years agocus-edit tweak for bug#2298.
Glenn Morris [Thu, 10 Mar 2011 03:44:33 +0000 (19:44 -0800)]
cus-edit tweak for bug#2298.

* lisp/cus-edit.el (Custom-newline): If no button at point, look for a
subgroup button at start-of-line.

13 years ago* lisp/mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
Glenn Morris [Thu, 10 Mar 2011 03:41:17 +0000 (19:41 -0800)]
* lisp/mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.

13 years agoInhibit mouse-avoidance if cursor-type is nil (Bug#8209).
Julien Danjou [Thu, 10 Mar 2011 02:14:55 +0000 (21:14 -0500)]
Inhibit mouse-avoidance if cursor-type is nil (Bug#8209).

* lisp/avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
`cursor-type' is nil.

13 years ago* fringe.c (destroy_fringe_bitmap, init_fringe_bitmap): Now static.
Paul Eggert [Thu, 10 Mar 2011 02:02:40 +0000 (18:02 -0800)]
* fringe.c (destroy_fringe_bitmap, init_fringe_bitmap): Now static.

13 years ago* alloc.c (mark_fringe_data): Move decl from here ...
Paul Eggert [Thu, 10 Mar 2011 02:01:53 +0000 (18:01 -0800)]
* alloc.c (mark_fringe_data): Move decl from here ...

* lisp.h (mark_fringe_data) [HAVE_WINDOW_SYSTEM]: ... to here,
to check its interface.
(init_fringe_once): Do not declare unless HAVE_WINDOW_SYSTEM.

13 years ago* xfns.c (Fx_create_frame, x_create_tip_frame, Fx_show_tip):
Paul Eggert [Thu, 10 Mar 2011 01:58:37 +0000 (17:58 -0800)]
* xfns.c (Fx_create_frame, x_create_tip_frame, Fx_show_tip):

(Fx_backspace_delete_keys_p):
Use them to avoid shadowing, and rename vars to avoid shadowing.
(x_decode_color, x_set_name, x_window): Now static.

13 years ago* fontset.c (FONTSET_SPEC, FONTSET_REPERTORY, RFONT_DEF_REPERTORY): Remove; unused.
Paul Eggert [Thu, 10 Mar 2011 01:48:47 +0000 (17:48 -0800)]
* fontset.c (FONTSET_SPEC, FONTSET_REPERTORY, RFONT_DEF_REPERTORY): Remove; unused.

13 years ago* fontset.c (fontset_font): Mark local as initialized.
Paul Eggert [Thu, 10 Mar 2011 01:44:38 +0000 (17:44 -0800)]
* fontset.c (fontset_font): Mark local as initialized.

13 years ago* fontset.c (Fset_fontset_font): Rename local to avoid shadowing.
Paul Eggert [Thu, 10 Mar 2011 01:43:19 +0000 (17:43 -0800)]
* fontset.c (Fset_fontset_font): Rename local to avoid shadowing.

13 years ago* fontset.c (free_realized_fontset): Now static.
Paul Eggert [Thu, 10 Mar 2011 01:41:18 +0000 (17:41 -0800)]
* fontset.c (free_realized_fontset): Now static.

13 years ago* xrdb.c: Include "xterm.h", to check x_load_resources's interface.
Paul Eggert [Thu, 10 Mar 2011 01:40:21 +0000 (17:40 -0800)]
* xrdb.c: Include "xterm.h", to check x_load_resources's interface.

13 years ago* xselect.c (x_own_selection, Fx_disown_selection_internal): Rename locals
Paul Eggert [Thu, 10 Mar 2011 01:36:58 +0000 (17:36 -0800)]
* xselect.c (x_own_selection, Fx_disown_selection_internal): Rename locals

to avoid shadowing.
(x_handle_dnd_message): Remove local to avoid shadowing.

13 years ago* xselect.c (TRACE3) [!defined TRACE_SELECTION]: Remove; not used.
Paul Eggert [Thu, 10 Mar 2011 01:31:57 +0000 (17:31 -0800)]
* xselect.c (TRACE3) [!defined TRACE_SELECTION]: Remove; not used.

13 years ago* xselect.c (x_disown_buffer_selections): Remove; not used.
Paul Eggert [Thu, 10 Mar 2011 01:30:22 +0000 (17:30 -0800)]
* xselect.c (x_disown_buffer_selections): Remove; not used.

13 years ago* lisp.h (GCPRO1_VAR, UNGCPRO_VAR): New macros,
Paul Eggert [Thu, 10 Mar 2011 01:28:06 +0000 (17:28 -0800)]
* lisp.h (GCPRO1_VAR, UNGCPRO_VAR): New macros,

so that the caller can use some name other than gcpro1.
(GCPRO1, UNGCPRO): Reimplement in terms of the new macros.
(Fx_create_frame, x_create_tip_frame, Fx_show_tip):
(Fx_backspace_delete_keys_p): Rename locals to avoid shadowing.
Some of these renamings use the new GCPRO1_VAR and UNGCPRO_VAR
macros.

13 years ago* xfns.c: (x_real_positions, xg_set_icon_from_xpm_data, x_create_tip_frame):
Paul Eggert [Thu, 10 Mar 2011 01:06:01 +0000 (17:06 -0800)]
* xfns.c: (x_real_positions, xg_set_icon_from_xpm_data, x_create_tip_frame):

Remove unused locals.

13 years ago* xfns.c (Fx_file_dialog, Fx_select_font): Fix pointer signedness.
Paul Eggert [Thu, 10 Mar 2011 01:03:29 +0000 (17:03 -0800)]
* xfns.c (Fx_file_dialog, Fx_select_font): Fix pointer signedness.

13 years ago* xfns.c (Fx_create_frame): Add braces to silence GCC warning.
Paul Eggert [Thu, 10 Mar 2011 00:59:17 +0000 (16:59 -0800)]
* xfns.c (Fx_create_frame): Add braces to silence GCC warning.

13 years ago* xfns.c (x_decode_color, x_set_name, x_window): Now static.
Paul Eggert [Thu, 10 Mar 2011 00:58:10 +0000 (16:58 -0800)]
* xfns.c (x_decode_color, x_set_name, x_window): Now static.

13 years ago* calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
Jay Belanger [Wed, 9 Mar 2011 23:38:16 +0000 (17:38 -0600)]
* calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.

13 years ago* allout.el Summary: Change so yank of distinctive-bullet items preserves
Ken Manheimer [Wed, 9 Mar 2011 20:48:56 +0000 (15:48 -0500)]
* allout.el Summary: Change so yank of distinctive-bullet items preserves
the existing header prefix, rebulleting it if necessary, rather than
replacing it.  This is necessary for proper operation of cooperative addons
like allout-widgets.

(allout-make-topic-prefix) (allout-rebullet-heading): Change SOLICIT arg to
INSTEAD, and interpret additionally a string value as alternate bullet to
be used, instead of prompting the user for a bullet character.

13 years agoFix last commit.
Eli Zaretskii [Wed, 9 Mar 2011 20:05:40 +0000 (22:05 +0200)]
Fix last commit.

13 years ago* xterm.c (x_connection_closed): Tell GCC not to suggest NO_RETURN.
Paul Eggert [Wed, 9 Mar 2011 17:39:28 +0000 (09:39 -0800)]
* xterm.c (x_connection_closed): Tell GCC not to suggest NO_RETURN.

13 years ago* xterm.c (x_delete_glyphs, x_ins_del_lines): Mark with NO_RETURN.
Paul Eggert [Wed, 9 Mar 2011 17:30:24 +0000 (09:30 -0800)]
* xterm.c (x_delete_glyphs, x_ins_del_lines): Mark with NO_RETURN.

13 years agoAllow building manuals with Texinfo before v4.12.
Eli Zaretskii [Wed, 9 Mar 2011 16:54:08 +0000 (18:54 +0200)]
Allow building manuals with Texinfo before v4.12.

 doc/lispref/intro.texi (Acknowledgements): Convert to ISO-8859-1 encoding.
 doc/lispref/makefile.w32-in (MAKEINFO_OPTS): Add --enable-encoding.
 doc/lispref/elisp.texi: Use ISO-8859-1 in @documentencoding.
 doc/emacs/ack.texi (Acknowledgments): Convert to ISO-8859-1 encoding.  Use
 Texinfo @-commands for non Latin-1 characters.
 doc/emacs/emacs.texi: Use ISO-8859-1 in @documentencoding.
 doc/emacs/makefile.w32-in (MAKEINFO_OPTS): Add --enable-encoding.

13 years ago* src/search.c (compile_pattern_1): Remove unused argument.
Juanma Barranquero [Wed, 9 Mar 2011 16:18:51 +0000 (17:18 +0100)]
* src/search.c (compile_pattern_1): Remove unused argument.
  (compile_pattern): Don't pass it.

13 years agoFix a typo in last commit of ChangeLog file.
Eli Zaretskii [Wed, 9 Mar 2011 16:04:43 +0000 (18:04 +0200)]
Fix a typo in last commit of ChangeLog file.

13 years agoFix bug #8210 with index entries for ".emacs".
Eli Zaretskii [Wed, 9 Mar 2011 15:59:23 +0000 (17:59 +0200)]
Fix bug #8210 with index entries for ".emacs".

 doc/emacs/custom.texi (Init File): Add index entries for ".emacs".

13 years agoauth.texi (Help for developers): Untabify.
Katsumi Yamaoka [Wed, 9 Mar 2011 14:37:30 +0000 (14:37 +0000)]
auth.texi (Help for developers): Untabify.

13 years agoMerge changes made in Gnus trunk.
Teodor Zlatanov [Wed, 9 Mar 2011 13:39:35 +0000 (13:39 +0000)]
Merge changes made in Gnus trunk.

auth-source.el (auth-source-read-char-choice): New function to read a character choice using `dropdown-list', `read-char-choice', or `read-char'.  It appends "[a/b/c] " to the prompt if the choices were '(?a ?b ?c).  The `dropdown-list' support is disabled for now.  Use `eval-when-compile' to load `dropdown-list'.
 (auth-source-netrc-saver): Use it.
nnimap.el (nnimap-credentials): Keep the :save-function as the third parameter in the credentials.
 (nnimap-open-connection-1): Use it after a successful login.
 (nnimap-credentials): Add IMAP-specific user and password prompt.
auth-source.el (auth-source-search): Add :require parameter, taking a list.  Document it and the :save-function return token.  Pass :require down.  Change the CREATED message from a warning to a debug statement.
 (auth-source-search-backends): Pass :require down.
 (auth-source-netrc-search): Pass :require down.
 (auth-source-netrc-parse): Use :require, if it's given, as a filter.  Change save prompt to indicate all modifications saved here are deletions.
 (auth-source-netrc-create): Take user login name as default in user prompt.  Move all the save functionality to a lexically bound function under the :save-function token in the returned list.  Set up clearer default prompts for user, host, port, and secret.
 (auth-source-netrc-saver): New function, intended to be wrapped for :save-function.

13 years ago* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
Michael Albinus [Wed, 9 Mar 2011 11:04:27 +0000 (12:04 +0100)]
* net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): Do
not use `tramp-file-name-port', because this returns also
`tramp-default-port'.

13 years ago* lisp/net/rcirc.el (rcirc-handler-001): Remove useless
Deniz Dogan [Wed, 9 Mar 2011 10:45:19 +0000 (11:45 +0100)]
* lisp/net/rcirc.el (rcirc-handler-001): Remove useless
with-rcirc-process-buffer.
(rcirc-check-auth-status): Swap arguments to string-match.

13 years ago* xterm.c: (x_draw_image_foreground, redo_mouse_highlight, XTmouse_position):
Paul Eggert [Wed, 9 Mar 2011 09:12:38 +0000 (01:12 -0800)]
* xterm.c: (x_draw_image_foreground, redo_mouse_highlight, XTmouse_position):

(x_scroll_bar_report_motion, handle_one_xevent, x_draw_bar_cursor):
(x_error_catcher, x_connection_closed, x_error_handler):
(x_error_quitter, xembed_send_message, x_iconify_frame):
(my_log_handler): Rename locals to avoid shadowing.

13 years ago* shell.el (shell-mode): Set comint-input-ring-size from HISTSIZE. (Bug#7889)
Glenn Morris [Wed, 9 Mar 2011 09:01:14 +0000 (01:01 -0800)]
* shell.el (shell-mode): Set comint-input-ring-size from HISTSIZE.  (Bug#7889)

13 years agoFix previous gdb-mi fix...
Glenn Morris [Wed, 9 Mar 2011 08:57:40 +0000 (00:57 -0800)]
Fix previous gdb-mi fix...

13 years agoFix previous gdb-mi change.
Glenn Morris [Wed, 9 Mar 2011 08:55:08 +0000 (00:55 -0800)]
Fix previous gdb-mi change.

13 years agogdb-mi addition for bug#7889.
Glenn Morris [Wed, 9 Mar 2011 08:43:27 +0000 (00:43 -0800)]
gdb-mi addition for bug#7889.

* lisp/progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
Check for GDBHISTFILE, HISTSIZE, etc.

13 years ago* xterm.c (XEMBED_VERSION, xembed_set_info): Don't define unless needed.
Paul Eggert [Wed, 9 Mar 2011 07:17:17 +0000 (23:17 -0800)]
* xterm.c (XEMBED_VERSION, xembed_set_info): Don't define unless needed.

(x_fatal_error_signal): Remove; not used.

13 years ago* xterm.c (x_iconify_frame, x_free_frame_resources): Don't declare locals
Paul Eggert [Wed, 9 Mar 2011 07:11:42 +0000 (23:11 -0800)]
* xterm.c (x_iconify_frame, x_free_frame_resources): Don't declare locals

unless they are used.

13 years ago* xterm.c: Don't declare local "event" unless it's used.
Paul Eggert [Wed, 9 Mar 2011 07:07:42 +0000 (23:07 -0800)]
* xterm.c: Don't declare local "event" unless it's used.

13 years ago* xterm.c (XTread_socket): Don't define label "out" unless it's used.
Paul Eggert [Wed, 9 Mar 2011 07:05:07 +0000 (23:05 -0800)]
* xterm.c (XTread_socket): Don't define label "out" unless it's used.

13 years ago* xterm.c: (x_shift_glyphs_for_insert, XTflash, XTring_bell):
Paul Eggert [Wed, 9 Mar 2011 07:02:55 +0000 (23:02 -0800)]
* xterm.c: (x_shift_glyphs_for_insert, XTflash, XTring_bell):

(x_calc_absolute_position): Now static.

13 years ago* xterm.h (x_mouse_leave): New decl.
Paul Eggert [Wed, 9 Mar 2011 07:01:14 +0000 (23:01 -0800)]
* xterm.h (x_mouse_leave): New decl.

13 years ago* xterm.c (x_copy_dpy_color, x_focus_on_frame, x_unfocus_frame):
Paul Eggert [Wed, 9 Mar 2011 06:40:38 +0000 (22:40 -0800)]
* xterm.c (x_copy_dpy_color, x_focus_on_frame, x_unfocus_frame):

Remove unused functions.

13 years ago* xfaces.c (STRDUPA, LSTRDUPA, FONT_POINT_SIZE_QUANTUM): Remove; not used.
Paul Eggert [Wed, 9 Mar 2011 06:29:34 +0000 (22:29 -0800)]
* xfaces.c (STRDUPA, LSTRDUPA, FONT_POINT_SIZE_QUANTUM): Remove; not used.

(LFACEP): Define only if XASSERTS, as it's not needed otherwise.

13 years ago* xfaces.c (Fx_list_fonts): Mark variable that gcc -Wuninitialized
Paul Eggert [Wed, 9 Mar 2011 06:25:19 +0000 (22:25 -0800)]
* xfaces.c (Fx_list_fonts): Mark variable that gcc -Wuninitialized

does not deduce is never used uninitialized.