Eli Zaretskii [Mon, 11 Apr 2011 15:59:30 +0000 (18:59 +0300)]
Fix bug #8468 with redisplay when scroll-margin > 0.
src/xdisp.c (redisplay_window): Don't try to determine the character
position of the scroll margin if the window start point w->startp
is outside the buffer's accessible region.
Eli Zaretskii [Wed, 30 Mar 2011 20:59:42 +0000 (22:59 +0200)]
Documentation parts of the scroll fix.
src/xdisp.c (syms_of_xdisp) <scroll-conservatively>: Document the
threshold of 100 lines for never-recentering scrolling.
doc/emacs/display.texi (Auto Scrolling): Document the limit of 100
lines for never-recentering scrolling with `scroll-conservatively'.
Eli Zaretskii [Tue, 29 Mar 2011 19:58:13 +0000 (21:58 +0200)]
Fix off-by-one in scroll down aggressively.
src/xdisp.c (try_scrolling): When scrolling down aggressively,
scroll one screen line less, to make sure we end up at the margin
for fractions close to 1.
Eli Zaretskii [Mon, 28 Mar 2011 19:30:35 +0000 (21:30 +0200)]
Fix failures in try_scrolling when scrolling back.
src/xdisp.c (try_scrolling): When point is above the window, allow
searching as far as scroll_max, or one screenful, to compute
vertical distance from PT to the scroll margin position. This
prevents try_scrolling from unnecessarily failing when
scroll-conservatively is set to a value slightly larger than the
window height.
Eli Zaretskii [Sun, 27 Mar 2011 20:01:46 +0000 (22:01 +0200)]
Fix scrolling back with scroll-down-aggressively.
src/xdisp.c (try_scrolling): Clean up the case of PT below the
margin at bottom of window: scroll_max can no longer be INT_MAX.
(redisplay_window): Find character position of margin and use
that, rather than adding margin to PT.
Eli Zaretskii [Sat, 26 Mar 2011 22:05:30 +0000 (00:05 +0200)]
Fix scrolling with scroll-*-aggressively.
Aggressive scrolling backward by large distance still doesn't DTRT.
src/xdisp.c (try_scrolling): When aggressive scrolling is in use, don't
let point enter the opposite scroll margin as result of the scroll.
(redisplay_window): Fix operator precedence in condition.
Eli Zaretskii [Sat, 26 Mar 2011 18:31:36 +0000 (20:31 +0200)]
Fix bug #6671 with point position in the window when scrolling far away.
src/xdisp.c (redisplay_window): Don't check buffer's clip_changed
flag as a prerequisite for invoking try_scrolling.
(try_scrolling): Limit scrolling to 100 screen lines.
(SCROLL_LIMIT): New macro.
(try_scrolling): Use it when setting scroll_limit.
(redisplay_window): Even when falling back on "recentering",
position point in the window according to scroll-conservatively,
scroll-margin, and scroll-*-aggressively variables.
Eli Zaretskii [Sat, 26 Mar 2011 14:03:23 +0000 (16:03 +0200)]
Don't scroll more than 100 lines in try_scrolling.
src/xdisp.c (try_scrolling): Limit scrolling to 100 screen lines.
Eli Zaretskii [Sat, 26 Mar 2011 12:20:20 +0000 (14:20 +0200)]
Call try_scrolling even if buffer's clip_changed flag is set.
src/xdisp.c (redisplay_window): Don't check buffer's clip_changed
flag as a prerequisite for invoking try_scrolling. (Bug#6671)
Juanma Barranquero [Sat, 26 Mar 2011 02:48:03 +0000 (03:48 +0100)]
src/*.c: Fix more warnings about unused parameters.
* keymap.c (describe_vector): Remove parameters `indices' and
`char_table_depth', unused since 2002-03-01T01:43:26Z!handa@m17n.org.
(describe_map, Fdescribe_vector): Adjust calls to `describe_vector'.
* w32.c (read_unc_volume): Use parameter `henum', instead of
global variable `wget_enum_handle'.
Juanma Barranquero [Sat, 26 Mar 2011 01:23:15 +0000 (02:23 +0100)]
src/*.h: Remove unused parameters and functions.
* keyboard.h (timer_check, show_help_echo): Remove unused parameters.
* keyboard.c (timer_check): Remove parameter `do_it_now',
unused since 1996-04-12T06:01:29Z!rms@gnu.org.
(show_help_echo): Remove parameter `ok_to_overwrite_keystroke_echo',
unused since 2008-04-19T19:30:53Z!monnier@iro.umontreal.ca.
* keyboard.c (read_char):
* w32menu.c (w32_menu_display_help):
* xmenu.c (show_help_event, menu_help_callback):
Adjust calls to `show_help_echo'.
* gtkutil.c (xg_maybe_add_timer):
* keyboard.c (readable_events):
* process.c (wait_reading_process_output):
* xmenu.c (x_menu_wait_for_event): Adjust calls to `timer_check'.
* insdel.c (adjust_markers_gap_motion):
Remove; no-op since 1998-01-02T21:29:48Z!rms@gnu.org.
(gap_left, gap_right): Don't call it.
Teodor Zlatanov [Fri, 25 Mar 2011 23:27:18 +0000 (23:27 +0000)]
mm-util.el (mm-handle-filename): Move to mm-decode.el (bug#8330).
mm-decode.el (mm-handle-filename): Move from mm-util.el (bug#8330).
Leo Liu [Fri, 25 Mar 2011 22:26:30 +0000 (06:26 +0800)]
Remove redundant (require 'timer) in midnight.el
Leo Liu [Fri, 25 Mar 2011 22:11:15 +0000 (06:11 +0800)]
Remove unused and erroneous midnight-time-float
Chong Yidong [Fri, 25 Mar 2011 20:00:25 +0000 (16:00 -0400)]
Discard changes to buffer->clip_changed incurred during fontification.
* src/xdisp.c (handle_fontified_prop): Discard changes to clip_changed
incurred during fontification.
Andreas Schwab [Fri, 25 Mar 2011 18:16:41 +0000 (19:16 +0100)]
* autogen/update_autogen: Remove useless function keyword.
Juanma Barranquero [Fri, 25 Mar 2011 18:06:33 +0000 (19:06 +0100)]
src/*.c: Remove unused function parameters.
* buffer.c (defvar_per_buffer): Remove unused parameter `doc'.
(DEFVAR_PER_BUFFER): Don't pass it.
* dispnew.c (row_equal_p, add_row_entry): Remove unused parameter `w'.
(scrolling_window): Don't pass it.
Juanma Barranquero [Fri, 25 Mar 2011 17:37:15 +0000 (18:37 +0100)]
src/fileio.c: Move computation of encoded_absname inside `if'.
Juanma Barranquero [Fri, 25 Mar 2011 15:39:59 +0000 (16:39 +0100)]
nt/*.c, src/*.c: Remove unused variables.
* nt/addpm.c (main): Remove unused variable `retval'.
* nt/preprep.c (main): Remove unused variable `ptr'.
* src/dispextern.h (glyph_matric): Use #if GLYPH_DEBUG, not #ifdef.
* src/fileio.c (check_executable) [DOS_NT]: Remove unused variables `len'
and `suffix'.
(Fset_file_selinux_context) [HAVE_LIBSELINUX]: Move here declaration
of variables specific to SELinux and computation of `encoded_absname'.
* src/image.c (XPutPixel): Remove unused variable `height'.
* src/keyboard.c (make_lispy_event): Remove unused variable `hpos'.
* src/unexw32.c (get_section_info): Remove unused variable `section'.
* src/w32.c (stat): Remove unused variables `drive_root' and `devtype'.
(system_process_attributes): Remove unused variable `sess'.
(sys_read): Remove unused variable `err'.
* src/w32fns.c (top): Wrap variables with #if GLYPH_DEBUG, not #ifdef.
(w32_wnd_proc): Remove unused variable `isdead'.
(unwind_create_frame): Use #if GLYPH_DEBUG, not #ifdef.
(Fx_server_max_request_size): Remove unused variable `dpyinfo'.
(x_create_tip_frame): Remove unused variable `tem'.
* src/w32inevt.c (w32_console_read_socket): Remove unused variable `no_events'.
* src/w32term.c (x_draw_composite_glyph_string_foreground):
Remove unused variable `width'.
Andreas Schwab [Fri, 25 Mar 2011 14:06:41 +0000 (15:06 +0100)]
.gitignore: Add compile, config.guess, config.sub, depcomp,
install-sh, missing.
Eli Zaretskii [Fri, 25 Mar 2011 12:55:10 +0000 (14:55 +0200)]
Adapt the MS-DOS build to lib/stdio.h and autogen/.
config.bat: Generate src/config.h and lib/Makefile from
autogen/config.in and autogen/Makefile.in.
msdos/sedlibmk.inp: Adapt to addition of the gnulib stdio module.
Add a description of what needs to be done when a new gnulib
module is added.
(MKDIR_P): Fix replacement command.
Eli Zaretskii [Fri, 25 Mar 2011 12:52:03 +0000 (14:52 +0200)]
Fix previous commit.
config.bat: Use autogen/config.in in one more place.
msdos/sedlibmk.inp (GNULIB_PRINTF, GNULIB_PRINTF_POSIX): Add missing
variables.
(MKDIR_P): Fix replacement command.
(NEXT_AS_FIRST_DIRECTIVE_STDIO_H, NEXT_STDIO_H): Edit to
"<stdio.h>", as lib/stdio.h cannot be left unused.
Eli Zaretskii [Fri, 25 Mar 2011 12:10:45 +0000 (14:10 +0200)]
Adapt config.bat and msdos/sedlibmk.inp to autogen and addition of stdio.
msdos/sedlibmk.inp: Adapt to addition of the gnulib stdio module.
config.bat: Generate src/config.h and lib/Makefile from
autogen/config.in and autogen/Makefile.in.
Glenn Morris [Fri, 25 Mar 2011 07:17:23 +0000 (00:17 -0700)]
* admin/make-tarball.txt: Comment.
Glenn Morris [Fri, 25 Mar 2011 07:14:31 +0000 (00:14 -0700)]
Remove some files that autoreconf can supply.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00863.html
* compile, config.guess, config.sub, depcomp, install-sh, missing:
Remove; autoreconf can supply them.
* Makefile.in (sync-from-gnulib): Don't sync config.sub,
config.guess, install-sh. Pass -i to autoreconf.
* autogen/update_autogen (genfiles): Add compile, config.guess,
config.sub, depcomp, install-sh, missing. Pass -i to autoreconf.
Discard non-error output from autoreconf in -q case.
* autogen/compile, autogen/config.guess, autogen/config.sub:
* autogen/depcomp, autogen/install-sh, autogen/missing: New files.
* autogen/copy_autogen: Add compile, config.guess, config.sub, depcomp,
install-sh, missing.
* autogen/README: Add compile, config.guess, config.sub, depcomp,
install-sh, missing.
* INSTALL.BZR, admin/make-tarball.txt: Add -i to autoreconf args.
* .bzrignore: Add compile, config.guess, config.sub, depcomp,
install-sh, missing.
Glenn Morris [Fri, 25 Mar 2011 07:00:36 +0000 (00:00 -0700)]
* admin/notes/copyright: Remove info on some files no longer present.
Leo Liu [Fri, 25 Mar 2011 00:42:26 +0000 (08:42 +0800)]
Some ido cleanups
* ido.el (ido-read-internal): Simplify with read-from-minibuffer.
(ido-completions): Remove unused arguments. (Bug#8329)
Stefan Monnier [Thu, 24 Mar 2011 22:05:01 +0000 (18:05 -0400)]
First step towards using standard completion in comint.
* lisp/minibuffer.el (completion--flush-all-sorted-completions):
Remove itself from hook.
(completion-at-point): Let the functions perform the completion
immediately and return nil or t.
* lisp/comint.el (comint-dynamic-complete-functions): Now identical to
completion-at-point-functions.
(comint-dynamic-list-input-ring): Remove unused var `index'.
(comint--match-partial-filename, comint--unquote&expand-filename):
New funs, split from comint-match-partial-filename.
(comint-dynamic-complete): Use completion-at-point.
(comint-dynamic-complete-filename): Use comint--match-partial-filename.
Drew Adams [Thu, 24 Mar 2011 16:38:12 +0000 (00:38 +0800)]
Add support for defun in thingatpt.el
Juanma Barranquero [Thu, 24 Mar 2011 02:30:26 +0000 (03:30 +0100)]
src/w32term.c (x_set_glyph_string_clipping): Don't pass uninitialized region to CombineRgn.
Leo Liu [Wed, 23 Mar 2011 18:11:15 +0000 (02:11 +0800)]
Move abbrevlist.el to obsolete/abbrevlist.el
Juanma Barranquero [Wed, 23 Mar 2011 16:25:38 +0000 (17:25 +0100)]
w32: Fix some warnings reported by -Wall -Wextra.
* lib-src/ntlib.c: Include <ctype.h>.
* nt/cmdproxy.c: Include <ctype.h>.
(make_absolute): Remove unused variable `i'.
* src/w32fns.c (x_set_menu_bar_lines): Remove unused variable `olines'.
(w32_wnd_proc): Pass NULL to Windows API, not uninitialized buffer.
(Fx_close_connection): Remove unused variable `i'.
* src/w32font.c (w32font_draw): Return number of glyphs.
(w32font_open_internal): Remove unused variable `i'.
(w32font_driver): Add missing initializer.
* src/w32menu.c (utf8to16): Remove unused variable `utf16'.
(fill_in_menu): Remove unused variable `items_added'.
* src/w32term.c (last_mouse_press_frame): Remove static global variable.
(w32_clip_to_row): Remove unused variable `f'.
(x_delete_terminal): Remove unused variable `i'.
* src/w32uniscribe.c (uniscribe_shape): Remove unused variable `nclusters'.
(NOTHING): Remove unused static global variable.
(uniscribe_check_otf): Remove unused variable `table'.
(uniscribe_font_driver): Add missing initializers.
Leo Liu [Wed, 23 Mar 2011 11:56:34 +0000 (19:56 +0800)]
Tweak regexp in help-mode-finish
Without this fix, "This special-form is advised." won't be correctly
fontified.
Julien Danjou [Wed, 23 Mar 2011 10:06:57 +0000 (11:06 +0100)]
Use Frun_hooks rather than calling Vrun_hooks manually
Glenn Morris [Wed, 23 Mar 2011 07:58:05 +0000 (00:58 -0700)]
* autogen/update_autogen (msg): Remove function; use `exec' instead.
Glenn Morris [Wed, 23 Mar 2011 06:40:56 +0000 (23:40 -0700)]
* autogen/update_autogen: Fix typo.
Glenn Morris [Wed, 23 Mar 2011 04:09:49 +0000 (00:09 -0400)]
Auto-commit of generated files.
Glenn Morris [Wed, 23 Mar 2011 03:38:15 +0000 (20:38 -0700)]
* admin/notes/copyright: Remove comments about deleted files in src/{m,s}.
Files that were merged into other files have been kept.
Glenn Morris [Wed, 23 Mar 2011 03:32:55 +0000 (20:32 -0700)]
Fix ChangeLog typo.
Glenn Morris [Wed, 23 Mar 2011 03:09:55 +0000 (20:09 -0700)]
Replace mkinstalldirs with `install-sh -d', as automake recommends.
* Makefile.in (mkdir): Use `install-sh -d' instead of mkinstalldirs.
(sync-from-gnulib): Don't sync mkinstalldirs.
* make-dist: Don't distribute mkinstalldirs.
* leim/Makefile.in (install): Use `install-sh -d' rather than mkinstalldirs.
* lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
Use `install-sh -d' rather than mkinstalldirs.
* configure.in, doc/emacs/Makefile.in: Update comments.
* admin/notes/copyright: Remove mkinstalldirs.
Glenn Morris [Wed, 23 Mar 2011 02:57:57 +0000 (19:57 -0700)]
* admin/notes/bzr: Update bzr changelog_merge plugin details.
Glenn Morris [Wed, 23 Mar 2011 02:52:52 +0000 (19:52 -0700)]
esh-opt trivia.
* lisp/eshell/esh-opt.el (eshell-eval-using-options):
Do not bind unused local variable `eshell-option-stub'.
Glenn Morris [Wed, 23 Mar 2011 02:50:28 +0000 (19:50 -0700)]
* lisp/progmodes/gdb-mi.el (gdb): Fix typo in previous change.
Paul Eggert [Wed, 23 Mar 2011 01:01:59 +0000 (18:01 -0700)]
Fix more problems found by GCC 4.5.2's static checks.
Paul Eggert [Wed, 23 Mar 2011 00:53:37 +0000 (17:53 -0700)]
Merge removals from trunk.
Paul Eggert [Wed, 23 Mar 2011 00:24:09 +0000 (17:24 -0700)]
Merge from mainline.
Juanma Barranquero [Tue, 22 Mar 2011 20:58:27 +0000 (21:58 +0100)]
lisp/emacs-lisp/derived.el: Don't warn about keymaps already `defconst'ed.
Sebastian Hermida [Tue, 22 Mar 2011 18:59:50 +0000 (14:59 -0400)]
* etc/themes/misterioso-theme.el: New file.
Chong Yidong [Tue, 22 Mar 2011 18:15:52 +0000 (14:15 -0400)]
Remove an apparently unnecessary XClearWindow call.
* src/xterm.c (x_clear_frame): Remove XClearWindow call. This appears
not to be necessary, and produces flickering.
Paul Eggert [Tue, 22 Mar 2011 17:33:16 +0000 (10:33 -0700)]
Merge from mainline.
Paul Eggert [Tue, 22 Mar 2011 16:43:12 +0000 (09:43 -0700)]
Add Bug#
Paul Eggert [Tue, 22 Mar 2011 16:20:45 +0000 (09:20 -0700)]
* coding.c (encode_coding_raw_text): Avoid unnecessary test
the first time through the loop, since we know p0 < p1 then.
This also avoids a gcc -Wstrict-overflow warning.
Leo Liu [Tue, 22 Mar 2011 15:38:40 +0000 (23:38 +0800)]
Use utf-8 if safe for writing to abbrev file
and fall back on emacs-mule or utf-8-emacs.
Juanma Barranquero [Tue, 22 Mar 2011 15:15:21 +0000 (16:15 +0100)]
lisp/simple.el: Avoid warning about `delete-backward-char'.
Julien Danjou [Tue, 22 Mar 2011 13:40:41 +0000 (13:40 +0000)]
mm-view.el (mm-display-inline-fontify): Make mode optional, and call normal-mode if not set. Set temp buffer unmodified to avoid kill-buffer query.
(mm-inline-text): Render normal text with fontification whenever possible.
gnus-sum.el (gnus-summary-save-parts-1):
gnus-art.el (gnus-article-browse-html-save-cid-content)
(gnus-article-browse-html-parts, gnus-mime-delete-part)
(gnus-mime-copy-part, gnus-mime-inline-part, gnus-insert-mime-button):
Use `mm-handle-filename'.
mm-util.el (mm-handle-filename): New function, return the filename of an handle.
Juanma Barranquero [Tue, 22 Mar 2011 13:10:43 +0000 (14:10 +0100)]
lisp/image.el: Avoid some warnings.
* image.el (image-type-file-name-regexps): Make it variable.
`imagemagick-register-types' modifies it, and the user may want
to add new extensions for known image types.
(imagemagick-register-types): Throw error if not using ImageMagick.
Leo Liu [Tue, 22 Mar 2011 11:51:48 +0000 (19:51 +0800)]
New variable rcirc-user-authenticated to pacify compiler
Leo Liu [Tue, 22 Mar 2011 11:30:05 +0000 (19:30 +0800)]
Handle the case when re-search-backward errs
because point is not located after rcirc-prompt-end-marker.
Andreas Schwab [Tue, 22 Mar 2011 09:37:37 +0000 (10:37 +0100)]
.gitignore: Add aclocal.m4, configure, lib/Makefile.in, src/config.in.
Paul Eggert [Tue, 22 Mar 2011 09:08:11 +0000 (02:08 -0700)]
* lisp.h (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Avoid 'int' overflow
leading to a memory leak, possible in functions like
load_charset_map_from_file that can allocate an unbounded number
of objects.
Paul Eggert [Tue, 22 Mar 2011 08:59:50 +0000 (01:59 -0700)]
* xmenu.c (set_frame_menubar): Use EMACS_UINT, not int, for indexes
that could (at least in theory) be that large.
Paul Eggert [Tue, 22 Mar 2011 08:15:43 +0000 (01:15 -0700)]
* xdisp.c (pint2hrstr): Simplify and tune code slightly.
This also avoids a (bogus) GCC warning with gcc -Wstrict-overflow.
Paul Eggert [Tue, 22 Mar 2011 08:10:11 +0000 (01:10 -0700)]
* xdisp.c (message_log_check_duplicate): Return unsigned long, not int.
This is less likely to overflow, and avoids undefined behavior if
overflow does occur. All callers changed. Use strtoul to scan
for the unsigned long integer.
Paul Eggert [Tue, 22 Mar 2011 07:48:10 +0000 (00:48 -0700)]
* scroll.c (do_scrolling): Work around GCC bug 48228.
See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>.
Glenn Morris [Tue, 22 Mar 2011 03:28:41 +0000 (20:28 -0700)]
copy_autogen tweaks.
* autogen/copy_autogen: Work from ./ or ../.
Fix time-stamps.
* autogen.sh: Doc fix.
Chong Yidong [Tue, 22 Mar 2011 00:30:23 +0000 (20:30 -0400)]
Special handling of the `custom-enabled-themes' custom variable.
* lisp/custom.el (custom--inhibit-theme-enable): Make it affect only
custom-theme-set-variables and custom-theme-set-faces.
(provide-theme): Ignore custom--inhibit-theme-enable.
(load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
(custom-enabling-themes): Delete variable.
(enable-theme): Accept only loaded themes as arguments. Ignore
the special custom-enabled-themes variable.
(custom-enabled-themes): Forbid themes from setting this.
Eliminate use of custom-enabling-themes.
(custom-push-theme): Quote "changed" custom var entry.
Chong Yidong [Mon, 21 Mar 2011 22:09:52 +0000 (18:09 -0400)]
* lisp/custom.el (custom-push-theme): Quote "changed" custom var entry.
Paul Eggert [Mon, 21 Mar 2011 18:12:38 +0000 (11:12 -0700)]
* frame.c (validate_x_resource_name): Simplify count usage.
This also avoids a warning with gcc -Wstrict-overflow.
Paul Eggert [Mon, 21 Mar 2011 18:11:03 +0000 (11:11 -0700)]
Better version of previous patch.
Paul Eggert [Mon, 21 Mar 2011 18:09:45 +0000 (11:09 -0700)]
* frame.c (Fmodify_frame_parameters): Simplify loop counter.
This also avoids a warning with gcc -Wstrict-overflow.
Paul Eggert [Mon, 21 Mar 2011 18:03:15 +0000 (11:03 -0700)]
* ebrowse.c: Use size_t, not int, for sizes.
This avoids a warning with gcc -Wstrict-overflow, and works
better for very large objects.
(inbuffer_size): Now size_t. All uses changed.
(xmalloc, xrealloc, operator_name, process_file): Use size_t for
sizes. Don't bother testing whether a size_t value can be negative.
Leo Liu [Mon, 21 Mar 2011 17:48:36 +0000 (01:48 +0800)]
Fix history adding in ido-read-internal
Assume, for example, the head of matches is "RSS" and user input is
"rs". If the user hit RET, "RSS" is selected but "rs" is added to the
history. This commit fixes this inconsistency.
Paul Eggert [Mon, 21 Mar 2011 16:41:03 +0000 (09:41 -0700)]
* etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
Paul Eggert [Mon, 21 Mar 2011 16:40:05 +0000 (09:40 -0700)]
etags: In Prolog functions, don't assume int fits in size_t.
This avoids a warning with gcc -Wstrict-overflow.
* etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
not int, to store sizes.
(prolog_atom): Return 0, not -1, on error. All callers changed.
Stefan Monnier [Mon, 21 Mar 2011 16:34:16 +0000 (12:34 -0400)]
* subr.el (deferred-action-list, deferred-action-function): Mark obsolete.
Paul Eggert [Mon, 21 Mar 2011 16:26:05 +0000 (09:26 -0700)]
Merge from gnulib.
Paul Eggert [Mon, 21 Mar 2011 16:22:16 +0000 (09:22 -0700)]
Add Bug#.
Leo Liu [Mon, 21 Mar 2011 15:26:05 +0000 (23:26 +0800)]
Remove leftover (require 'wid-edit)
Leo Liu [Mon, 21 Mar 2011 14:55:00 +0000 (22:55 +0800)]
Default read-file-name-function to a non-nil value
See discussion thread:
http://thread.gmane.org/gmane.emacs.devel/134000
Paul Eggert [Mon, 21 Mar 2011 07:46:53 +0000 (00:46 -0700)]
update-game-score: fix bug with -r
* update-game-score.c (main): Don't set 'scores' to garbage when
-r is specified and scorecount != MAX_SCORES. This bug was
introduced in the 2002-04-10 change, and was found with gcc
-Wstrict-overflow (GCC 4.5.2, x86-64).
Glenn Morris [Mon, 21 Mar 2011 06:42:23 +0000 (23:42 -0700)]
* eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args): Doc fixes.
Paul Eggert [Mon, 21 Mar 2011 05:50:24 +0000 (22:50 -0700)]
Add Bug#.
Paul Eggert [Mon, 21 Mar 2011 05:34:48 +0000 (22:34 -0700)]
Merge from trunk and from gnulib stdio.
Paul Eggert [Mon, 21 Mar 2011 05:06:47 +0000 (22:06 -0700)]
Autogenerate.
Paul Eggert [Mon, 21 Mar 2011 05:05:49 +0000 (22:05 -0700)]
* .bzrignore: Add lib/stdio.h.
Paul Eggert [Mon, 21 Mar 2011 05:04:41 +0000 (22:04 -0700)]
[ChangeLog]
fakemail: Remove dependency on ignore-value.
* Makefile.in (GNULIB_MODULES): Add stdio.
* lib/stdio.in.h, m4/stdio_h.m4: New files, automatically
imported from gnulib.
[lib-src/ChangeLog]
fakemail: Remove dependency on ignore-value.
This undoes some of the recent fakemail-related changes.
It is made possible due to recent changes to gnulib's stdio module.
* Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
* fakemail.c: Do not include ignore-value.h.
(put_line): Do not use ignore_value.
Chong Yidong [Mon, 21 Mar 2011 04:30:55 +0000 (00:30 -0400)]
Several fixes to cus-theme.el.
* lisp/cus-theme.el: Add missing provide statement.
(customize-create-theme): Extract theme value correctly.
(custom-theme-visit-theme): Autoload.
(customize-create-theme): Prompt before inserting default faces.
Paul Eggert [Mon, 21 Mar 2011 02:40:27 +0000 (19:40 -0700)]
* fileio.c (Fcopy_file): Report error if fchown or fchmod fail.
Glenn Morris [Mon, 21 Mar 2011 00:28:18 +0000 (17:28 -0700)]
Fix typo in a README.
Glenn Morris [Mon, 21 Mar 2011 00:20:24 +0000 (17:20 -0700)]
Fix date of merged entry.
Glenn Morris [Mon, 21 Mar 2011 00:08:01 +0000 (17:08 -0700)]
* autogen/update_autogen: Make bzr commit respect -q option.
Glenn Morris [Mon, 21 Mar 2011 00:03:58 +0000 (20:03 -0400)]
Auto-commit of generated files.
Glenn Morris [Sun, 20 Mar 2011 23:58:23 +0000 (16:58 -0700)]
(Re)move autotools generated files from the repository.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00225.html
* autogen/: New directory, to be excluded from releases.
* autogen/copy_autogen, autogen/update_autogen: New scripts.
* autogen/README: New file.
* autogen/aclocal.m4, autogen/config.in, autogen/configure:
* autogen/Makefile.in: Add auto-updated generated files.
* autogen.sh: No longer a no-op, now it tests for autotools
and runs them as necessary.
* configure.in: Defaule maintainer-mode to on.
* aclocal.m4, configure, lib/Makefile.in: Remove files.
* src/config.in: Remove file.
* INSTALL.BZR, admin/make-tarball.txt: Update instructions.
Paul Eggert [Sun, 20 Mar 2011 23:56:23 +0000 (16:56 -0700)]
Add Bug#.
Paul Eggert [Sun, 20 Mar 2011 21:03:44 +0000 (14:03 -0700)]
* emacs.c (Fdaemon_initialized): Do not ignore I/O errors.
Jay Belanger [Sun, 20 Mar 2011 20:59:29 +0000 (15:59 -0500)]
* calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
units and musical notes.
Paul Eggert [Sun, 20 Mar 2011 16:55:33 +0000 (09:55 -0700)]
Merge: Use socklen_t, not int, for socket lengths.
Paul Eggert [Sun, 20 Mar 2011 16:28:22 +0000 (09:28 -0700)]
Merge from gnulib, for socklen_t.
Juanma Barranquero [Sun, 20 Mar 2011 13:57:22 +0000 (14:57 +0100)]
src/minibuf.c: Fix previous change.
* minibuf.c (Vcompleting_read_function): Don't declare, global variables
are now in src/globals.h.
(syms_of_minibuf): Remove spurious & from previous change.
Leo Liu [Sun, 20 Mar 2011 10:35:27 +0000 (18:35 +0800)]
New variable completing-read-function to customize completing-read