Glenn Morris [Tue, 10 Jul 2012 01:11:08 +0000 (21:11 -0400)]
authors.el update for configure.ac renaming
* lisp/emacs-lisp/authors.el (authors-fixed-entries):
(authors-renamed-files-alist): Update for configure.in -> configure.ac.
Glenn Morris [Tue, 10 Jul 2012 01:04:28 +0000 (21:04 -0400)]
Stop ns builds setting the EMACSLOADPATH environment variable
Ref bugs 4309, 6401, etc.
This is the last environment variable (ab)used by the ns port in this way.
* src/nsterm.m (ns_load_path): Rename from ns_init_paths.
Now it does not set EMACSLOADPATH, just returns the load-path string.
* src/nsterm.h: Update accordingly.
* src/lread.c [HAVE_NS]: Include nsterm.h.
(init_lread) [HAVE_NS]: Use ns_load_path.
* src/emacs.c (main) [HAVE_NS]: No longer call ns_init_paths.
Glenn Morris [Tue, 10 Jul 2012 00:57:55 +0000 (20:57 -0400)]
Tiny NEWS edit
Glenn Morris [Mon, 9 Jul 2012 23:23:59 +0000 (19:23 -0400)]
* src/s/gnu.h (SIGNALS_VIA_CHARACTERS): No need to define it here
(the included bsd-common.h does so)
Andreas Schwab [Mon, 9 Jul 2012 22:30:01 +0000 (00:30 +0200)]
* ede/project-am.el: Fix typo.
Gnus developers [Mon, 9 Jul 2012 22:12:19 +0000 (22:12 +0000)]
gnus-sum.el: Merge changes made in Gnus master
2012-07-09 Tassilo Horn <tassilo@member.fsf.org>
* gnus-sum.el (gnus-summary-limit-to-author): Use default value instead
of initial input when reading the author to restrict the summary to.
2012-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-sum.el (gnus-select-newsgroup): Don't assume that the group
buffer exists, which it doesn't if we haven't started Gnus.
Andreas Schwab [Mon, 9 Jul 2012 22:06:31 +0000 (00:06 +0200)]
* configure.ac (PNG_DEPSTRUCT): Define this instead of
PNG_DEPRECATED.
Glenn Morris [Mon, 9 Jul 2012 21:28:39 +0000 (17:28 -0400)]
Stop ns builds setting the EMACSPATH environment variable
Ref bugs 4309, 6401, etc
* src/nsterm.m (ns_exec_path): New function, split from ns_init_paths.
(ns_init_paths): Do not set EMACSPATH.
* src/nsterm.h (ns_exec_path): Add it.
* src/callproc.c (init_callproc_1, init_callproc) [HAVE_NS]: Use ns_exec_path.
Glenn Morris [Mon, 9 Jul 2012 21:14:12 +0000 (17:14 -0400)]
* src/nsterm.m, src/nsterm.h (ns_etc_directory): Fix type, empty return.
Paul Eggert [Mon, 9 Jul 2012 21:12:08 +0000 (14:12 -0700)]
* process.c (wait_reading_process_output): 'waitchannels' was unset
when read_kbd || !NILP (wait_for_cell); fix this.
Glenn Morris [Mon, 9 Jul 2012 19:56:14 +0000 (15:56 -0400)]
Fix typo in previous
Glenn Morris [Mon, 9 Jul 2012 19:55:23 +0000 (15:55 -0400)]
Apply GNU coding style to objc-mode as well as c-mode
Paul Eggert [Mon, 9 Jul 2012 16:38:45 +0000 (09:38 -0700)]
Add GCC-style 'const' attribute to functions that can use it.
Paul Eggert [Mon, 9 Jul 2012 16:06:19 +0000 (09:06 -0700)]
Minor improvements to make_formatted_string.
* alloc.c (make_formatted_string): Prefer int to ptrdiff_t
where int is good enough, as vsprintf returns an int.
* lisp.h (make_formatted_string): Add ATTRIBUTE_FORMAT_PRINTF.
Juanma Barranquero [Mon, 9 Jul 2012 15:37:43 +0000 (17:37 +0200)]
lib/makefile.w32-in: Rework dependencies.
(GNU_LIB, NT_INC, C_CTYPE_H, MS_W32_H, CONFIG_H, FILEMODE_H)
(FTOASTR_H, FTOASTR_C, GETOPT_INT_H, MD5_H, SHA1_H, SHA256_H)
(U64_H, SHA512_H): New macros.
(SRC): Redefine to point to src/, not current directory.
($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O))
($(BLD)/c-strncasecmp.$(O), $(BLD)/dtoastr.$(O))
($(BLD)/dtotimespec.$(O), $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O))
($(BLD)/gettime.$(O), $(BLD)/strftime.$(O), $(BLD)/time_r.$(O))
($(BLD)/timespec-add.$(O), $(BLD)/timespec-sub.$(O), $(BLD)/md5.$(O))
($(BLD)/sha1.$(O), $(BLD)/sha256.$(O), $(BLD)/sha512.$(O))
($(BLD)/filemode.$(O)): Update dependencies.
Juanma Barranquero [Mon, 9 Jul 2012 14:01:41 +0000 (16:01 +0200)]
lib-src/emacsclient.c (w32_execvp): Declare execvp to silence the compiler.
Juanma Barranquero [Mon, 9 Jul 2012 14:00:31 +0000 (16:00 +0200)]
lib-src/emacsclient.c: Adapt comments to GNU coding standards.
Juanma Barranquero [Mon, 9 Jul 2012 13:40:34 +0000 (15:40 +0200)]
nt/config.nt: Sync with autogen/config.in.
Dmitry Antipov [Mon, 9 Jul 2012 12:02:27 +0000 (16:02 +0400)]
Use make_formatted_string to avoid double length calculation.
* lisp.h (make_formatted_string): New prototype.
* alloc.c (make_formatted_string): New function.
* buffer.c (Fgenerate_new_buffer_name): Use it.
* dbus.c (syms_of_dbusbind): Likewise.
* editfns.c (Fcurrent_time_zone): Likewise.
* filelock.c (get_boot_time): Likewise.
* frame.c (make_terminal_frame, set_term_frame_name)
(x_report_frame_params): Likewise.
* image.c (gs_load): Likewise.
* minibuf.c (get_minibuffer): Likewise.
* msdos.c (dos_set_window_size): Likewise.
* process.c (make_process): Likewise.
* xdisp.c (ensure_echo_area_buffers): Likewise.
* xsettings.c (apply_xft_settings): Likewise.
Glenn Morris [Mon, 9 Jul 2012 10:17:37 +0000 (06:17 -0400)]
Auto-commit of generated files.
Paul Eggert [Mon, 9 Jul 2012 08:34:39 +0000 (01:34 -0700)]
Merge from gnulib.
Glenn Morris [Mon, 9 Jul 2012 07:07:24 +0000 (00:07 -0700)]
Stop ns builds polluting the environment with EMACSDATA, EMACSDOC
It's bad form for one part of a program to communicate with another
part by making persistent changes to the environment of all subsequent
child processes. For example, it can cause odd bugs when building
Emacs from within Emacs (eg bug#6401, maybe).
* nsterm.m (ns_etc_directory): New function, split from ns_init_paths.
(ns_init_paths): Do not set EMACSDATA, EMACSDOC.
* nsterm.h (ns_etc_directory): Add it.
* callproc.c [HAVE_NS]: Include nsterm.h.
(init_callproc_1, init_callproc) [HAVE_NS]: Use ns_etc_directory.
Paul Eggert [Mon, 9 Jul 2012 04:58:55 +0000 (21:58 -0700)]
Mention coordinates of recent Autoconf change, thanks to Stefano Lattarini.
Paul Eggert [Mon, 9 Jul 2012 04:56:32 +0000 (21:56 -0700)]
Merge from trunk.
Paul Eggert [Mon, 9 Jul 2012 04:52:49 +0000 (21:52 -0700)]
Rename configure.in to configure.ac.
Fixes: debbugs:11603
Juanma Barranquero [Mon, 9 Jul 2012 04:21:55 +0000 (06:21 +0200)]
lib-src/makefile.w32-in: Rework dependencies.
($(BLD)/test-distrib.exe): Use LIB_SRC, not SRC.
(LIB_SRC, NT_INC, GNU_LIB, MS_W32_H, CONFIG_H, INTTYPES_H, NTLIB_H)
(SYSTIME_H): New macros.
(SRC): Redefine to point to src/, not current directory.
($(BLD)/ctags.$(O), $(BLD)/ebrowse.$(O), $(BLD)/emacsclient.$(O))
($(BLD)/etags.$(O), $(BLD)/hexl.$(O), $(BLD)/make-docfile.$(O))
($(BLD)/movemail.$(O), $(BLD)/ntlib.$(O), $(BLD)/pop.$(O))
($(BLD)/profile.$(O), $(BLD)/test-distrib.$(O)): Update dependencies.
($(BLD)/regex.$(O)): New dependency.
Dmitry Antipov [Mon, 9 Jul 2012 03:15:10 +0000 (07:15 +0400)]
Move marker debugging code under MARKER_DEBUG.
* marker.c (MARKER_DEBUG): Move marker debugging code under
#ifdef MARKER_DEBUG because byte_char_debug_check is too slow
for bootstrap with --enable-checking (~3x slowdown reported
by Juanma Barranquero <lekktu@gmail.com>).
(verify_bytepos): Move under #ifdef MARKER_DEBUG.
Katsumi Yamaoka [Mon, 9 Jul 2012 02:13:07 +0000 (02:13 +0000)]
mm-decode.el (mm-shr): Allow overriding charset by mm-charset-override-alist
Juanma Barranquero [Mon, 9 Jul 2012 00:59:38 +0000 (02:59 +0200)]
lib-src/makefile.w32-in (ALL): Add profile.exe.
(PROFILEOBJS): New macro.
($(BLD)/profile.exe): New target.
(install): Copy profile.exe.
($(BLD)/alloca.$(O), $(BLD)/tcp.$(O)): Remove, obsolete.
Paul Eggert [Sun, 8 Jul 2012 23:00:38 +0000 (16:00 -0700)]
* systime.h (EMACS_SUB_TIME): Clarify behavior with unsigned time_t.
See <http://bugs.gnu.org/11825#29>.
Paul Eggert [Sun, 8 Jul 2012 20:03:56 +0000 (13:03 -0700)]
Restore deprecation warnings, except for older libpng.
* configure.in (WARN_CFLAGS): Remove -Wno-deprecated-declarations.
(HAVE_LIBPNG_PNG_H): Don't bother checking for this if we have png.h.
(PNG_DEPRECATED): Define when compiling with older PNG versions.
Eli Zaretskii [Sun, 8 Jul 2012 16:38:43 +0000 (19:38 +0300)]
Cleanup changes following fix for bug #11832.
src/ xdisp.c (display_line): Add commentary about displaying
truncation glyphs on GUI frames.
(produce_special_glyphs): Move here from term.c.
src/term.c (produce_special_glyphs): Move to xdisp.c.
src/dispextern.h (produce_special_glyphs): Move prototype to xdisp.c
section.
Eli Zaretskii [Sun, 8 Jul 2012 15:49:39 +0000 (18:49 +0300)]
Fix bug #11813 with invalid font for buffer name on the modeline.
src/xdisp.c (fill_glyphless_glyph_string): If the face of the glyph
has no font, use the frame's font.
Juanma Barranquero [Sun, 8 Jul 2012 14:58:24 +0000 (16:58 +0200)]
nt/config.nt (BROKEN_SA_RESTART): Fix comment.
Glenn Morris [Sun, 8 Jul 2012 10:18:44 +0000 (06:18 -0400)]
Auto-commit of generated files.
Chong Yidong [Sun, 8 Jul 2012 08:26:21 +0000 (16:26 +0800)]
Fix interaction of line-dragging with mouse-1-click-follows-link.
* lisp/mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
Implement the mouse-1-click-follows-link handling properly.
* lisp/info.el (Info-link-keymap): Use follow-link mechanism for
header-line links.
Fixes: debbugs:374
Chong Yidong [Sun, 8 Jul 2012 06:09:21 +0000 (14:09 +0800)]
Do not steal primary selection on mark deactivation.
* lisp/simple.el (deactivate-mark): Do not set the primary selection
if another program has acquired it.
Fixes: debbugs:11772
Juanma Barranquero [Sun, 8 Jul 2012 00:48:27 +0000 (02:48 +0200)]
etc/tutorials/TUTORIAL.es: Sync with changes in 2012-07-07T10:34:37Z!cyd@gnu.org.
Juanma Barranquero [Sat, 7 Jul 2012 23:16:19 +0000 (01:16 +0200)]
Fix ChangeLog typos.
Andreas Schwab [Sat, 7 Jul 2012 21:39:45 +0000 (23:39 +0200)]
* xdisp.c (display_line): Avoid warning about implicit declaration
of FRAME_FONT.
Andreas Schwab [Sat, 7 Jul 2012 21:39:23 +0000 (23:39 +0200)]
* frame.c (get_frame_param): Define only if HAVE_WINDOW_SYSTEM.
Andreas Schwab [Sat, 7 Jul 2012 21:39:23 +0000 (23:39 +0200)]
* lisp.h: Remove empty conditional.
Andreas Schwab [Sat, 7 Jul 2012 20:32:41 +0000 (22:32 +0200)]
* configure.in (WARN_CFLAGS): Add -Wno-deprecated-declarations.
Juanma Barranquero [Sat, 7 Jul 2012 20:26:48 +0000 (22:26 +0200)]
nt/config.nt (HAVE_STRCASECMP, HAVE_STRNCASECMP): Remove.
Paul Eggert [Sat, 7 Jul 2012 19:33:28 +0000 (12:33 -0700)]
* lread.c (load_path_check): Now static.
Paul Eggert [Sat, 7 Jul 2012 19:23:41 +0000 (12:23 -0700)]
Improve static checking when configured --with-ns.
See Samuel Bronson's remarks in
<http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00146.html>.
* configure.in (WARN_CFLAGS): Omit -Wunreachable-code, as it's
a no-op with recent GCC and harmful in earlier ones.
Omit -Wsync-nand, as it's irrelevant to Emacs and provokes a
warning when compiling with ObjC. Always omit
-Wunsafe-loop-optimizations, as we don't mind when optimization is
being done correctly.
Fix some minor --with-ns problems found by static checking.
* src/frame.c (Ftool_bar_pixel_width) [!FRAME_TOOLBAR_WIDTH]:
(x_set_font) [!HAVE_X_WINDOWS]:
* src/image.c (xpm_load_image) [HAVE_NS]:
(x_to_xcolors) [!HAVE_X_WINDOWS && !HAVE_NTGUI]:
(x_disable_image) [!HAVE_NS && !HAVE_NTGUI]:
Remove unused local.
(Fx_parse_geometry) [HAVE_NS]: Don't return garbage.
(xpm_load_image) [HAVE_NS && !HAVE_XPM]: Remove unused label.
* src/image.c (x_create_bitmap_from_file) [HAVE_NS]:
(xpm_load_image, xpm_load) [HAVE_NS && !HAVE_XPM]:
* src/nsselect.m (symbol_to_nsstring, ns_string_to_pasteboard_internal):
* src/xfaces.c (Fx_load_color_file) [!HAVE_X_WINDOWS]:
Fix pointer signedness problem.
* src/xfaces.c (FRAME_X_FONT_TABLE):
* src/xterm.h (FRAME_X_FONT_TABLE): Remove unused, incompatible macros.
Glenn Morris [Sat, 7 Jul 2012 18:16:15 +0000 (11:16 -0700)]
* configure.in (BROKEN_SA_RESTART): Doc fix.
* src/sysdep.c, src/s/irix6-5.h: Related comments.
Glenn Morris [Sat, 7 Jul 2012 18:06:32 +0000 (11:06 -0700)]
Try to simplify the initialization of Vload_path
* src/lread.c (load_path_check): New function, split from init_lread.
(init_lread): Reorganize. Motivation:
If EMACSLOADPATH is set, check/warn about that rather than the
defaults, which we are not going to use. Hence we can remove
the turn_off_warning and WINDOWSNT || HAVE_NS tests.
Don't warn if site-lisp directories are missing.
If not installed, start from a blank load-path, since
PATH_LOADSEARCH refers to the eventual installation directories.
Eli Zaretskii [Sat, 7 Jul 2012 16:36:02 +0000 (19:36 +0300)]
Fix bug #11832 with truncated lines when fringes are disabled on GUI frames.
src/xdisp.c (init_iterator): Get dimensions of truncation and
continuation glyphs even if on GUI frames. Adjust
it->last_visible_x on GUI frames when the left or right fringes,
or both, are absent.
(start_display, move_it_in_display_line_to): Handle the case of a
GUI frame without a fringe to display continuation or truncation
glyphs.
(insert_left_trunc_glyphs): Support GUI frames: make sure
truncation glyphs overwrite enough glyphs from the current line to
have sufficient space in pixels.
(display_line): Support truncation and continuation glyphs on GUI
frames. If some spare pixels are left on the line after inserting
the truncation glyphs, fill that space with a stretch glyph of a
suitably computed width.
src/term.c (produce_special_glyphs): Call PRODUCE_GLYPHS, not
produce_glyphs, to support GUI sessions.
Bastien Guerry [Sat, 7 Jul 2012 14:37:47 +0000 (16:37 +0200)]
Update etc/tutorials/TUTORIAL.fr to reflect changes from 2012-07-07T10:34:37Z!cyd@gnu.org.
Michael Witten [Sat, 7 Jul 2012 10:34:37 +0000 (18:34 +0800)]
* tutorials/TUTORIAL: Copyedits.
Fixes: debbugs:11689
Glenn Morris [Sat, 7 Jul 2012 10:17:27 +0000 (06:17 -0400)]
Auto-commit of generated files.
Kevin Ryde [Sat, 7 Jul 2012 10:10:47 +0000 (18:10 +0800)]
* woman.el (woman2-process-escapes): Handle nofill regions.
Fixes: debbugs:11591
Kevin Ryde [Sat, 7 Jul 2012 10:06:38 +0000 (18:06 +0800)]
* woman.el (woman-strings): Fix double-quote handling.
(woman-decode-region): Replace escaped-escapes without destroying
bold or underline.
Fixes: debbugs:1151
Chong Yidong [Sat, 7 Jul 2012 09:51:59 +0000 (17:51 +0800)]
Add "site-lisp" to manual indices.
* custom.texi (Init File): Index site-lisp.
* doc/lispref/loading.texi (Library Search): Index site-lisp directories.
Fixes: debbugs:11435
Chong Yidong [Sat, 7 Jul 2012 09:33:28 +0000 (17:33 +0800)]
* lisp/simple.el (yank-pop-change-selection): Doc fix.
(interprogram-cut-function, interprogram-paste-function): Mention
that we typically mean the clipboard.
Fixes: debbugs:11361
Paul Eggert [Sat, 7 Jul 2012 03:06:00 +0000 (20:06 -0700)]
* sysdep.c (ULLONG_MAX): Define if not already defined.
Fixes: debbugs:11781
Paul Eggert [Sat, 7 Jul 2012 02:25:28 +0000 (19:25 -0700)]
* sysdep.c (list_system_processes): Port to NetBSD-current.
Fixes: debbugs:11797
Paul Eggert [Sat, 7 Jul 2012 01:57:42 +0000 (18:57 -0700)]
Do not require float-time's arg to fit in time_t (Bug#11825).
This works better on hosts where time_t is unsigned, and where
float-time is applied to the (negative) difference between two times.
* editfns.c (decode_time_components): Last arg is now double *,
not int *, and means to store all the result as a double, without
worrying about whether the seconds part fits in time_t.
All callers changed.
(lisp_time_argument): Remove last int * arg, as it's no longer needed.
All callers changed.
(Ffloat_time): Do not fail merely because the specified time falls
outside of time_t range.
Glenn Morris [Sat, 7 Jul 2012 01:03:46 +0000 (21:03 -0400)]
Replace some src/s undefs by never even checking on relevant platforms
* configure.in: (getwd): Don't check for it on unixware.
(random, rint): Don't check for these on hpux.
(res_init, libresolv): Don't check for these on darwin.
* src/s/darwin.h (HAVE_RES_INIT, HAVE_LIBRESOLV):
* src/s/hpux10-20.h (HAVE_RINT, HAVE_RANDOM):
* src/s/unixware.h (HAVE_GETWD): Move undefs to configure (effectively).
Juanma Barranquero [Sat, 7 Jul 2012 00:20:56 +0000 (02:20 +0200)]
Update Windows port to gnulib changes in 2012-07-06T21:07:46Z!eggert@cs.ucla.edu.
* lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)):
Update dependencies.
* lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/c-ctype.$(O),
$(BLD)/c-strcasecmp.$(O) and $(BLD)/c-strncasecmp.$(O).
($(BLD)/c-ctype.$(O), $(BLD)/c-strcasecmp.$(O))
($(BLD)/c-strncasecmp.$(O)): New dependencies.
* src/makefile.w32-in (DISPEXTERN_H, $(BLD)/regex.$(O)):
Update dependencies.
* src/s/ms-w32.h [_MSC_VER]: Remove strcasecmp, strncasecmp.
Paul Eggert [Fri, 6 Jul 2012 22:19:44 +0000 (15:19 -0700)]
Add gnulib files for Bug#11786 fix.
Glenn Morris [Fri, 6 Jul 2012 21:34:49 +0000 (17:34 -0400)]
* lisp/kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
Paul Eggert [Fri, 6 Jul 2012 21:29:50 +0000 (14:29 -0700)]
* configure.in: Document --enable-gcc-warnings better.
Paul Eggert [Fri, 6 Jul 2012 21:07:46 +0000 (14:07 -0700)]
Use c_strcasecmp for ASCII case-insensitive comparison.
Fixes: debbugs:11786
Paul Eggert [Fri, 6 Jul 2012 20:49:23 +0000 (13:49 -0700)]
* xfont.c (compare_font_names): Redo to omit the need for casts.
Andreas Schwab [Fri, 6 Jul 2012 20:00:42 +0000 (22:00 +0200)]
* xfns.c (Fx_change_window_property): Doc fix.
* w32fns.c (Fx_change_window_property): Doc fix.
Andreas Schwab [Fri, 6 Jul 2012 19:50:17 +0000 (21:50 +0200)]
* make-docfile.c (write_globals): Warn about duplicate function
definitions with differing signatures.
Andreas Schwab [Fri, 6 Jul 2012 19:34:39 +0000 (21:34 +0200)]
Fixes: debbugs:11870
* w32fns.c (Fx_window_property): Accept the same arguments as the
X Windows version. Doc fix.
* xfns.c (Fx_window_property): Doc fix.
Glenn Morris [Fri, 6 Jul 2012 19:06:54 +0000 (15:06 -0400)]
* lisp/files.el (toggle-read-only): Restrict message to interactive use.
Paul Eggert [Fri, 6 Jul 2012 17:53:26 +0000 (10:53 -0700)]
timespec-sub: avoid duplicate include
Juanma Barranquero [Fri, 6 Jul 2012 17:19:33 +0000 (19:19 +0200)]
* nt/config.nt: Complete rework to bring it in sync with autogen/config.in.
All Windows-specific code moved to src/s/ms-w32.h.
* src/s/ms-w32.h: Settings not specific to Windows moved to nt/config.nt.
Windows-specific code from nt/config.nt moved here.
Obsolete settings removed.
Paul Eggert [Fri, 6 Jul 2012 16:57:32 +0000 (09:57 -0700)]
* process.c: Avoid unnecessary calls to gettime.
(wait_reading_process_output): Don't get the time of day
when gobbling data immediately and not waiting, as there's no need
for it in that case. This removes a FIXME.
Paul Eggert [Fri, 6 Jul 2012 15:46:51 +0000 (08:46 -0700)]
Fix stray '<' from last change.
Jan Djärv [Fri, 6 Jul 2012 15:02:29 +0000 (17:02 +0200)]
* gtkutil.c (xg_event_is_for_scrollbar): Assign gwin when HAVE_GTK3 is defined.
Fixes: debbugs:11768
Dmitry Antipov [Fri, 6 Jul 2012 14:16:54 +0000 (18:16 +0400)]
Fix marker debugging code.
* marker.c (byte_char_debug_check): Do not perform the check
if buffer is not multibyte.
(buf_charpos_to_bytepos, buf_bytepos_to_charpos): Call
byte_char_debug_check with correct arguments.
Michael Albinus [Fri, 6 Jul 2012 13:19:33 +0000 (15:19 +0200)]
* tramp.texi (Multi-hops): Introduce `tramp-restricted-shell-hosts-alist'.
Michael Albinus [Fri, 6 Jul 2012 13:16:13 +0000 (15:16 +0200)]
* net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
* net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
Glenn Morris [Fri, 6 Jul 2012 10:17:34 +0000 (06:17 -0400)]
Auto-commit of generated files.
Dmitry Antipov [Fri, 6 Jul 2012 09:20:41 +0000 (13:20 +0400)]
Compile marker debugging code only if ENABLE_CHECKING is defined.
* marker.c (byte_char_debug_check, count_markers): Use
only if ENABLE_CHECKING is defined.
(byte_debug_flag): Remove.
(CONSIDER, buf_charpos_to_bytepos, buf_bytepos_to_charpos):
Always call byte_char_debug_check if ENABLE_CHECKING is defined.
Dmitry Antipov [Fri, 6 Jul 2012 08:53:15 +0000 (12:53 +0400)]
Avoid code repetition in marker-related functions.
* marker.c (attach_marker): New function.
(Fset_marker, set_marker_restricted, set_marker_both)
(set_marker_restricted_both): Use it.
(Fset_marker, set_marker_restricted, Fbuffer_has_markers_at):
Consistently rename charno to charpos.
(marker_position): Add eassert.
(marker_byte_position): Convert to eassert.
Glenn Morris [Fri, 6 Jul 2012 07:48:10 +0000 (00:48 -0700)]
* intro.texi (A Sample Variable Description): The saga continues...
http://debbugs.gnu.org/11862#89
Glenn Morris [Fri, 6 Jul 2012 07:45:23 +0000 (00:45 -0700)]
Comment tweak
Glenn Morris [Fri, 6 Jul 2012 07:40:43 +0000 (00:40 -0700)]
Tweaks for make-dist --update.
* make-dist [update]: Let autoreconf figure out what needs updating.
Use `make info-real'. leim/leim-list.el should always exist.
Check cd return value.
Dmitry Antipov [Fri, 6 Jul 2012 07:34:37 +0000 (11:34 +0400)]
* buffer.c (unchain_overlay): Simplify. Add comment.
* marker.c (unchain_marker): Simplify. Fix comments.
Glenn Morris [Fri, 6 Jul 2012 07:29:43 +0000 (00:29 -0700)]
* lisp/Makefile.in: Comment
Glenn Morris [Fri, 6 Jul 2012 07:23:25 +0000 (00:23 -0700)]
Move a comment from lisp/Makefile.in to lisp/loadup.el.
The comment in Makefile.in has been orphaned ever since
the bootstrap-prepare rule was removed in 2008.
Glenn Morris [Fri, 6 Jul 2012 07:08:10 +0000 (00:08 -0700)]
* lisp/Makefile.in (compile-one-process): Rename from "recompile".
Glenn Morris [Fri, 6 Jul 2012 07:06:13 +0000 (00:06 -0700)]
* lisp/Makefile.in (bzr-update): Use "compile".
It is the same as "recompile autoloads", but parallelizable.
Dmitry Gutov [Fri, 6 Jul 2012 06:22:56 +0000 (08:22 +0200)]
In quit-window always restore window height when it's saved in
quit-restore parameter.
* window.el (quit-window): Always restore window height when
it's saved in quit-restore parameter.
Dmitry Antipov [Fri, 6 Jul 2012 05:07:44 +0000 (09:07 +0400)]
Introduce fast path for the widely used marker operation.
* alloc.c (build_marker): New function.
* lisp.h (build_marker): New prototype.
* buffer.c (clone_per_buffer_values, Fmake_indirect_buffer): Use it.
* composite.c (autocmp_chars): Likewise.
* editfns.c (buildmark): Remove.
(Fpoint_marker, Fpoint_min_marker, Fpoint_max_marker)
(save_restriction_save): Use build_marker.
* marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): Likewise.
* window.c (save_window_save): Likewise.
Chong Yidong [Fri, 6 Jul 2012 04:48:35 +0000 (12:48 +0800)]
Tweak Emacs manual info menu ordering.
* doc/emacs/emacs.texi: Re-order top-level menu to correspond to logical
order, to avoid makeinfo warnings.
* doc/emacs/ack.texi (Acknowledgments): Note new python.el.
Dmitry Antipov [Fri, 6 Jul 2012 04:42:30 +0000 (08:42 +0400)]
Do not use Fdelete_overlay in delete_all_overlays
to avoid redundant calls to unchain_overlay.
* buffer.c (drop_overlay): New function.
(delete_all_overlays, Fdelete_overlay): Use it.
* minibuf.c (get_minibuffer): Fix comment.
Chong Yidong [Fri, 6 Jul 2012 04:31:46 +0000 (12:31 +0800)]
Merge from emacs-24; up to 2012-05-01T00:16:02Z!rgm@gnu.org
Chong Yidong [Fri, 6 Jul 2012 04:25:04 +0000 (12:25 +0800)]
Misc fixes for Lisp manual.
* doc/lispref/intro.texi (A Sample Function Description): Fix incorrect
markup, undoing previous change.
(A Sample Variable Description): Minor clarifications and markup
improvements.
* doc/lispref/elisp.texi (Top):
* doc/lispref/text.texi (Text): Fix menu order.
Paul Eggert [Fri, 6 Jul 2012 03:08:57 +0000 (03:08 +0000)]
Port to OpenBSD 5.1 amd64.
Richard M. Stallman [Fri, 6 Jul 2012 01:54:35 +0000 (21:54 -0400)]
* doc/lispref/intro.texi (A Sample Variable Description): Use @dfn more.
Richard M. Stallman [Fri, 6 Jul 2012 01:48:45 +0000 (21:48 -0400)]
Committer missed ChangeLog for previous change.
Richard M. Stallman [Fri, 6 Jul 2012 01:47:46 +0000 (21:47 -0400)]
* doc/lispref/intro.texi: Improve/undo previous changes.
Glenn Morris [Fri, 6 Jul 2012 01:31:54 +0000 (21:31 -0400)]
* lisp/Makefile.in (cvs-update): Remove old alias.