- 14 May, 2011 3 commits
-
-
Eli Zaretskii authored
src/xdisp.c (push_it): Accept second argument POSITION, where pop_it should jump to continue iteration.
-
Eli Zaretskii authored
Cursor positioning is not yet right near the overlay. src/xdisp.c (compute_display_string_pos): Non-trivial implementation. (compute_display_string_end): New function. src/dispextern.h (compute_display_string_end): Declare prototype. src/bidi.c (bidi_resolve_explicit_1): Use ZV for disp_pos. (bidi_fetch_char): Implement support for runs of characters covered by display strings.
-
Eli Zaretskii authored
src/bidi.c (bidi_fetch_char): Accept also character position corresponding to BYTEPOS. All callers changed. (bidi_cache_iterator_state, bidi_resolve_explicit_1) (bidi_resolve_explicit, bidi_resolve_weak) (bidi_level_of_next_char, bidi_move_to_visually_next): Abort if bidi_it->nchars is non-positive. (bidi_level_of_next_char): Don't try to lookup the cache for the next/previous character if nothing is cached there yet, or if we were just reseat()'ed to a new position. (bidi_paragraph_init, bidi_resolve_explicit_1) (bidi_level_of_next_char): Fix arguments in the calls to bidi_fetch_char.
-
- 10 May, 2011 5 commits
-
-
Eli Zaretskii authored
Only compiled, not tested. src/xdisp.c (compute_display_string_pos): New function. (reseat_1): Initialize bidi_it.disp_pos. src/bidi.c (bidi_copy_it): Use offsetof. (bidi_fetch_char, bidi_fetch_char_advance): New functions. (bidi_cache_search, bidi_cache_iterator_state) (bidi_paragraph_init, bidi_resolve_explicit, bidi_resolve_weak) (bidi_level_of_next_char, bidi_move_to_visually_next): Support character positions inside a run of characters covered by a display string. (bidi_paragraph_init, bidi_resolve_explicit_1) (bidi_level_of_next_char): Call bidi_fetch_char and bidi_fetch_char_advance instead of FETCH_CHAR and FETCH_CHAR_ADVANCE. (bidi_init_it): Initialize new members. (LRE_CHAR, RLE_CHAR, PDF_CHAR, LRO_CHAR, RLO_CHAR): Remove macro definitions. (bidi_explicit_dir_char): Lookup character type in bidi_type_table, instead of using explicit *_CHAR codes. (bidi_resolve_explicit, bidi_resolve_weak): Use FETCH_MULTIBYTE_CHAR instead of FETCH_CHAR, as reordering of bidirectional text is supported only in multibyte buffers. src/dispextern.h (struct bidi_it): New members nchars and disp_pos. ch_len is now EMACS_INT. (compute_display_string_pos): Declare prototype.
-
Katsumi Yamaoka authored
gnus-art.el (gnus-article-mode): Move binding of shr-put-image-function here from gnus-article-prepare-display.
-
Katsumi Yamaoka authored
(shr-image-fetched, shr-image-displayer, shr-tag-img): Funcall it. (shr-put-image): Return scaled image. gnus-art.el (gnus-shr-put-image): New function. (gnus-article-prepare-display): Bind shr-put-image-function to it. gnus-html.el (gnus-html-wash-images): Register scaled images, not original ones, as deletable.
-
Glenn Morris authored
* lisp/files.el (hack-one-local-variable-eval-safep): Consider "eval: (foo-mode)" to be safe. * doc/emacs/custom.texi (Specifying File Variables): Deprecate using mode: for minor modes. * etc/NEWS: Mention this. * lisp/doc-view.el, lisp/net/soap-client.el: Change "mode:" minor-mode file local variables to use "eval:".
-
Glenn Morris authored
* lisp/calendar/diary-lib.el (diary-list-entries-hook) (diary-mark-entries-hook, diary-nongregorian-listing-hook) (diary-nongregorian-marking-hook, diary-list-entries) (diary-include-other-diary-files, diary-mark-entries) (diary-mark-included-diary-files): Doc fixes.
-
- 09 May, 2011 15 commits
-
-
Juanma Barranquero authored
-
Juri Linkov authored
Convert to ERT.
-
Ted Zlatanov authored
(registry-insert): Use it. Fix logic here too. gnus-registry.el (gnus-registry-insert): Add wrapper that calls `registry-prune' if `registry-full' returns t. (gnus-registry-handle-action, gnus-registry-get-or-make-entry, gnus-registry-set-id-key, gnus-registry-usage-test): Use it.
-
Chong Yidong authored
* progmodes/compile.el (compilation-start): Run compilation-filter-hook for the async case too. (compilation-filter-hook): Doc fix.
-
Stefan Monnier authored
-
Deniz Dogan authored
-
Deniz Dogan authored
comment.
-
Juanma Barranquero authored
* misc.el (list-dynamic-libraries--loaded-only-p): New variable. (list-dynamic-libraries--refresh): New function. (list-dynamic-libraries): New command.
-
Eli Zaretskii authored
nt/config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
-
Andreas Schwab authored
-
Ted Zlatanov authored
-
Chong Yidong authored
-
Chong Yidong authored
-
Chong Yidong authored
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Fix the ant regexp to handle end-line and end-column info from jikes. Re-introduce maven regexp. Give the ruby-Test::Unit regexp a higher priority to avoid clobbering by gnu.
-
Chong Yidong authored
* test/automated/compile-tests.el: New file.
-
- 08 May, 2011 6 commits
-
-
Chong Yidong authored
-
Chong Yidong authored
* lisp/cus-face.el (custom-declare-face): Call custom-theme-recalc-face if the face has existing theme settings.
-
Ralph Schleicher authored
* lisp/net/browse-url.el (browse-url-of-dired-file): Allow browsing of special file names `.' and `..'.
-
Chong Yidong authored
* progmodes/perl-mode.el (perl-imenu-generic-expression): Only match variables declared via `my' or `our'.
-
Chong Yidong authored
* progmodes/grep.el (grep-mode-font-lock-keywords): Remove buffer-changing entries. (grep-filter): New function. (grep-mode): Add it to compilation-filter-hook. * progmodes/compile.el (compilation-filter-hook) (compilation-filter-start): New defvars. (compilation-filter): Call compilation-filter-hook prior to updating the process mark.
-
Stefan Monnier authored
-
- 07 May, 2011 11 commits
-
-
Eli Zaretskii authored
lisp/mail/sendmail.el (send-mail-function): On MS-Windows, default to mailclient-send-it even if window-system is nil.
-
Glenn Morris authored
-
Eli Zaretskii authored
src/w32console.c (Fset_screen_color): Doc fix. (Fget_screen_color): New function. (syms_of_ntterm): Defsubr it. lisp/term/w32console.el (terminal-init-w32console): Call get-screen-color and use its output to set the frame background-mode.
-
Eli Zaretskii authored
src/callproc.c (call_process_cleanup): Don't close and unlink the temporary file if Fcall_process didn't create it in the first place. (Fcall_process): Don't create tempfile if stdout of the child process will be redirected to a file specified with `:file'. Don't try to re-open tempfile in that case, and set fd[0] to -1 as cue to call_process_cleanup not to close that handle. msdos/inttypes.h: Include stdint.h. (uintmax_t): Don't define, it is defined in stdint.h. msdos/sedlibmk.inp (am__append_1): Edit to comment out. (am__append_2): Edit to expose. (NEXT_AS_FIRST_DIRECTIVE_STDARG_H, NEXT_STDARG_H, STDARG_H): Edit to empty. (@GL_GENERATE_STDARG_H_TRUE@, @GL_GENERATE_STDARG_H_FALSE@): Edit to comment out corresponding lines.
-
Eli Zaretskii authored
src/callproc.c (call_process_cleanup): Don't close and unlink the temporary file if Fcall_process didn't create it in the first place. (Fcall_process): Don't create tempfile if stdout of the child process will be redirected to a file specified with `:file'. Don't try to re-open tempfile in that case, and set fd[0] to -1 as cue to call_process_cleanup not to close that handle.
-
Julien Danjou authored
-
Eli Zaretskii authored
msdos/inttypes.h: Include stdint.h. (uintmax_t): Don't define, it is defined in stdint.h. msdos/sedlibmk.inp (am__append_1): Edit to comment out. (am__append_2): Edit to expose. (NEXT_AS_FIRST_DIRECTIVE_STDARG_H, NEXT_STDARG_H, STDARG_H): Edit to empty. (@GL_GENERATE_STDARG_H_TRUE@, @GL_GENERATE_STDARG_H_FALSE@): Edit to comment out corresponding lines.
-
Michael Albinus authored
-
Stefan Monnier authored
* lisp/emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form): New functions. (defgeneric, eieio--defmethod): Use them. (eieio-defgeneric): Remove. (defmethod): Call defgeneric in a way visible to the byte-compiler. Fixes: debbugs:8631
-
Ben Key authored
so that the variable name better matches its purpose, to be identical to usercflags with the exception that all quotes are escaped by the \ character. Renamed the fuserldflags variable to escuserldflags so that the variable name better matches its purpose, to be identical to userldflags with the exception that all quotes are escaped by the \ character. A new ESC_USER_CFLAGS variable is written to config.settings. This variable has the same value as the escusercflags variable. * nt/gmake.defs, nt/nmake.defs: Added the variable ESC_CFLAGS. This variable is identical to the CFLAGS variable except that it includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS. * src/makefile.w32-in: The bootstrap-temacs rule now makes use of one of two shell specific rules, either bootstrap-temacs-CMD or bootstrap-temacs-SH. The bootstrap-temacs-SH rule is identical to the previous implementation of the bootstrap-temacs rule. The bootstrap-temacs-CMD rule is similar to the previous implementation of the bootstrap-temacs rule except that it makes use of the ESC_CFLAGS variable instead of the CFLAGS variable. These changes are required to extend my earlier fix to add support for --cflags and --ldflags options that include quotes so that it works whether make uses cmd or sh as the shell.
-
Glenn Morris authored
* lisp/calendar/timeclock.el (timeclock-log-data): Remove unused local. Use let rather than let*. (timeclock-find-discrep): Remove unused local.
-