- 28 Feb, 2013 2 commits
-
-
Stefan Monnier authored
(doc-view-fallback-mode): Remove overlays here. (doc-view-toggle-display): Instead of here. Don't throw away image-mode-winprops-alist. (doc-view-goto-page): Don't mess with hscroll.
-
Ken Brown authored
-
- 27 Feb, 2013 4 commits
-
-
Eli Zaretskii authored
src/filelock.c (create_lock_file) [WINDOWSNT]: Use _sopen with _SH_DENYRW flag, instead of emacs_open, to deny any other process access to the lock file until it is written and closed. Fixes: debbugs:13807
-
Thierry Volpiatto authored
&optional. Fixes: debbugs:13819
-
Michael Albinus authored
(tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
-
Paul Eggert authored
-
- 26 Feb, 2013 4 commits
-
-
Bastien Guerry authored
-
Michael Albinus authored
"2>/dev/null" to the ls command, in case "en_US.utf8" is not defined. POSIX environments fall back to the "C" locale then and emit a warning, which shall be suppressed.
-
Paul Eggert authored
* intervals.h, textprop.c (add_text_properties_from_list): Return void, not int, since nobody uses the return value. * textprop.c (validate_plist, add_properties, remove_properties) (Fadd_text_properties): Don't assume list length fits in int. (interval_has_all_properties, interval_has_some_properties) (interval_has_some_properties_list, add_properties, remove_properties) (Fadd_text_properties, Fremove_text_properties) (Fremove_list_of_text_properties, text_property_stickiness): Use bool for booleans. (Fadd_text_properties, Fremove_text_properties): (Fremove_list_of_text_properties): Reindent do-while as per GNU style.
-
Stefan Monnier authored
(easy-mmode-set-keymap-parents): Use make-composed-keymap.
-
- 25 Feb, 2013 11 commits
-
-
Stefan Monnier authored
-
Adam Sjøgren authored
-
Juri Linkov authored
element of `defaults' if it's a list, otherwise it should be a string or nil. Let-bind `suggestions' to `defaults' if it's a list, otherwise make a list with the string value. Doc fix. Fixes: debbugs:13805
-
Eli Zaretskii authored
src/filelock.c [WINDOWSNT]: Include w32.h. (MAKE_LOCK_NAME): Don't use 'lock', it clashes with MS runtime function of that name. Up-case the macro arguments. (IS_LOCK_FILE): New macro. (fill_in_lock_file_name): Use IS_LOCK_FILE instead of S_ISLNK. (create_lock_file): New function, with body extracted from lock_file_1. [WINDOWSNT]: Implement lock files by writing a regular file with the lock information as its contents. (read_lock_data): New function, on Posix platforms just calls emacs_readlinkat. [WINDOWSNT]: Read the lock info from the file. (current_lock_owner): Call read_lock_data instead of calling emacs_readlinkat directly. (lock_file) [WINDOWSNT]: Run the file name through dostounix_filename. src/w32proc.c (sys_kill): Support the case of SIG = 0, in which case just check if the process by that PID exists. src/w32.c (sys_open): Don't reset the _O_CREAT flag if _O_EXCL is also present, as doing so will fail to error out if the file already exists. src/makefile.w32-in ($(BLD)/filelock.$(O)): Depend on src/w32.h. nt/inc/ms-w32.h (BOOT_TIME_FILE): Define. nt/config.nt (CLASH_DETECTION): Define to 1. lisp/emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files that match "\`\.#", to avoid compiling lock files, even if they are readable (as they are on MS-Windows). doc/emacs/files.texi (Interlocking): Don't refer to symlinks as the exclusive means of locking files. etc/NEWS: Mention support for lock files on MS-Windows.
-
Paul Eggert authored
-
Eli Zaretskii authored
src/textprop.c (Fadd_text_properties, Fremove_text_properties) (Fremove_list_of_text_properties): Skip all of the intervals in the region between START and END that already have resp. don't have the requested properties, not just the first one. Add assertions that the loop afterwards always modifies the properties.
-
Stefan Monnier authored
for `interactive' specs. * src/eval.c (Feval): Accept a lexical environment. Fixes: debbugs:13811
-
Stefan Monnier authored
-
Glenn Morris authored
-
Paul Eggert authored
-
Paul Eggert authored
This is a followon simplification to the fix for Bug#13650. * admin/CPP-DEFINES (DATA_START, ORDINARY_LINK): Remove. * configure.ac (CRT_DIR, LIB_STANDARD, START_FILES, DATA_START) (LD_FIRSTFLAG, ORDINARY_LINK, LIB_GCC): Remove. (AC_CHECK_HEADERS_ONCE): Remove sys/resource.h, as it's not always needed. (HAVE_DATA_START): New macro. * etc/PROBLEMS (LIBS_SYSTEM, LIBS_MACHINE, LIBS_STANDARD): Remove. Remove legacy-systems section, as this stuff is no longer applicable with current linking strategies. * src/Makefile.in (LD_FIRSTFLAG, LIB_GCC, CRT_DIR, LIB_STANDARD) (START_FILES): Remove. All uses removed. (otherobj): Remove $(VMLIMIT_OBJ), as it's now first. (ALLOBJS): Move here from autodeps.mk, and with VMLIMITS_OBJ first. (buildobj.h): Use it. ($(ALLOBJS)): Depend on globals.h. (temacs$(EXEEXT)): Use $(ALLOBJS). * src/autodeps.mk (ALLOBJS): Move to Makefile.in. * src/deps.mk (vm-limit.o): * src/makefile.w32-in ($(BLD)/vm-limit.$(O)): Do not depend on mem-limits.h. * src/emacs.c (__do_global_ctors, __do_global_ctors_aux) (__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__) [__GNUC__ && !ORDINARY_LINK]: Remove. * src/mem-limits.h, src/pre-crt0.c: Remove. * src/unexaix.c, src/unexcoff.c: Don't include mem-limits.h. * src/unexcoff.c (etext): New decl. (make_hdr): Use it instead of start_of_data. * src/vm-limit.c: Move most of mem-limits.h's contents here. (data_start): New decl. It's OK if this is approximate, so simplify-away some unnecessary exactness. (POINTER): Remove; all uses removed. (data_space_start): Now char *, to avoid casts. (exceeds_lisp_ptr): New function, replacing the old EXCEEDS_LISP_PTR macro. All uses changed. (check_memory_limits): Simplify and remove casts. (start_of_data) [!CANNOT_DUMP || !SYSTEM_MALLOC]: Remove. (memory_warnings): Use data_start instead of start_of_data. Fixes: debbugs:13783
-
- 24 Feb, 2013 7 commits
-
-
David Engster authored
-
Glenn Morris authored
-
Michael Albinus authored
* tramp.texi (top) [xxx, yyy, trampfn]: Remove superfluous @c. (Filename Syntax): Do not use @trampfn{} in @item. (Filename completion): Use @columnfractions in @multitable.
-
Andreas Schwab authored
* xdisp.c (set_message): Only check for debug-on-message if STRING is a string.
-
Aidan Gauland authored
keybinding in commentary.
-
Jay Belanger authored
Add option to force `pi' to remain symbolic. * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan) (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin) (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the derivatives, when necessary.
-
Paul Eggert authored
* filelock.c (fill_in_lock_file_name): Fix crash caused by the 2012-07-10 patch to this file. Reported by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00533.html> and diagnosed by Andreas Schwab in <http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00534.html>.
-
- 23 Feb, 2013 7 commits
-
-
Peter Kleiweg authored
* lisp/progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i. (ps-mode-octal-region): Use string-make-unibyte.
-
Glenn Morris authored
* emulation/viper-cmd.el (viper-submit-report): * progmodes/ps-mode.el (ps-mode-maintainer-address): * progmodes/vera-mode.el (vera-mode-help-address): * textmodes/artist.el (artist-maintainer-address): * textmodes/reftex.el (reftex-report-bug): * vc/ediff-util.el (ediff-submit-report): Add bug-gnu-emacs to bug report address.
-
Glenn Morris authored
* progmodes/simula.el (simula-mode-menu, simula-mode-map): Remove bug report entries. (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
-
Glenn Morris authored
-
Glenn Morris authored
* lisp/emacs-lisp/bytecomp.el (byte-compile-level): New. (byte-compile-file, byte-compile-from-buffer): Use separate input/output buffers for each level of recursive byte-compile-file calls. Fixes: debbugs:13787
-
Michael Albinus authored
(tramp-ssh-controlmaster-options): Rename it from `tramp-ssh-controlmaster-template'. Return a string. (tramp-default-method): Adapt check for `tramp-ssh-controlmaster-options'. * net/tramp-sh.el (tramp-methods): Replace `tramp-ssh-controlmaster-template' by "%c". (tramp-do-copy-or-rename-file-out-of-band) (tramp-maybe-open-connection): Use it in format spec. Ensure, that it is applied for the first hop only.
-
Eli Zaretskii authored
doc/lispref/files.texi (Magic File Names): Improve wording and indexing.
-
- 22 Feb, 2013 5 commits
-
-
David Engster authored
gnus-registry.el (gnus-registry-save): Provide class name when calling `eieio-persistent-read' to avoid "unsafe call" warning Use `condition-case' to stay compatible with older EIEIO versions which only accept one argument
-
Paul Eggert authored
* ralloc.c (SIZE, POINTER, NIL): * vm-limit.c (POINTER): Remove, replacing all uses with C89 equivalents. These old symbols were present only for porting to pre-C89 platforms.
-
Glenn Morris authored
-
Glenn Morris authored
-
Claudio Bley authored
src/w32.c (emacs_gnutls_pull): Don't call 'select', and don't loop. This avoids warning messages reported as part of Bug#13546.
-