]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 years agoNone, True, False, Ellipsis, __debug__, and NotImplemented now use font-lock-constant...
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:19 +0000 (00:03 -0300)]
None, True, False, Ellipsis, __debug__, and NotImplemented now use font-lock-constant-face

Also copyright, license, credits, quit, exit are removed from
font-lock since they are added by the site module and only useful for
shell interaction and not programs.

See: http://docs.python.org/release/3.1.3/library/constants.html#constants-added-by-the-site-module

12 years agopython-info-current-defun: fixed cornercase that caused imenu to break
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:19 +0000 (00:03 -0300)]
python-info-current-defun: fixed cornercase that caused imenu to break

12 years agoAdded package information for ELPA conformance
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:18 +0000 (00:03 -0300)]
Added package information for ELPA conformance

12 years agoFixed eldoc behavior.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:18 +0000 (00:03 -0300)]
Fixed eldoc behavior.

      * python-eldoc-setup-code: The code to get help now uses the
        inspect element. When an object doesn't have documentation and
        if it is callable it returns the signature for it. Also when
        an object does contain documentation it only returns the first
        line.

      * python-eldoc-at-point: has been simplified to just message the
        doc header of objects.

      * python-info-current-defun: was not taking into account the
        current indentation so point was always inside a defun, even
        if the indentation was less or equal than the defun above.

12 years agoIndentation enhancements on after-backslash
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:18 +0000 (00:03 -0300)]
Indentation enhancements on after-backslash

Multiline sentences beginning with "import", "from" or "return" are
indented correctly now.

12 years agofixed last paren indentation logic
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:17 +0000 (00:03 -0300)]
fixed last paren indentation logic

12 years agoFixed weird cornercase behavior in python-indent-calculate-indentation.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:17 +0000 (00:03 -0300)]
Fixed weird cornercase behavior in python-indent-calculate-indentation.

Doing (setq python-indent-levels '(0)) was causing the value of
python-indent-levels to not be initialized correctly on next calls to
python-indent-calculate-indentation. Using (setq python-indent-levels
(list 0)) instead does the trick but I'm not sure why.

12 years agoincreased forward-comment COUNT variable value in all calls
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:16 +0000 (00:03 -0300)]
increased forward-comment COUNT variable value in all calls

12 years agodocstring enhancements
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:16 +0000 (00:03 -0300)]
docstring enhancements

12 years agoindentation fixes on after backslash
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:16 +0000 (00:03 -0300)]
indentation fixes on after backslash

12 years agoImplemented python-nav-backward-sentence, python-nav-forward-sentence
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:15 +0000 (00:03 -0300)]
Implemented python-nav-backward-sentence, python-nav-forward-sentence

Also small fixes to python-nav-sentence-start and
python-nav-sentence-end were added.

12 years agoAdded python-nav-sentence-start and python-nav-sentence-end functions
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:15 +0000 (00:03 -0300)]
Added python-nav-sentence-start and python-nav-sentence-end functions

12 years agofixed CL related bytecompilation errors and set make-tree for imenu default
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:14 +0000 (00:03 -0300)]
fixed CL related bytecompilation errors and set make-tree for imenu default

12 years agoImplemented imenu support.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:14 +0000 (00:03 -0300)]
Implemented imenu support.

New variables:
 + python-imenu-include-defun-type
 + python-imenu-make-tree
 + python-imenu-subtree-root-label
 + python-imenu-index-alist

New Functions:
 + python-imenu-tree-assoc
 + python-imenu-make-element-tree
 + python-imenu-make-tree
 + python-imenu-create-index

API changes:
 + python-info-current-defun now supports an optional argument called
 INCLUDE-TYPE.

12 years agoDocumentation enhancements with regards to code checking. (thanks schickm)
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:14 +0000 (00:03 -0300)]
Documentation enhancements with regards to code checking. (thanks schickm)

12 years agoFixed python-info-current-defun for classes without bases
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:13 +0000 (00:03 -0300)]
Fixed python-info-current-defun for classes without bases

12 years agoFixed infinite loop on python-info-current-defun
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:13 +0000 (00:03 -0300)]
Fixed infinite loop on python-info-current-defun

For this python-beginning-of-defun-function has been modified to
return t or nil if a defun was found.

12 years agoDocstrings enhancements
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:13 +0000 (00:03 -0300)]
Docstrings enhancements

12 years agoSmall cornercase fix to python-info-current-defun.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:12 +0000 (00:03 -0300)]
Small cornercase fix to python-info-current-defun.

Returned the bad defun name when point was at the beginning of defun.

12 years agoFixed python-info-current-defun to match new navigation code.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:12 +0000 (00:03 -0300)]
Fixed python-info-current-defun to match new navigation code.

python-nav-beginning-of-defun and python-beginning-of-defun-function
now support a new extra optional argument called NODECORATORS.

12 years agoReplaced references from python-beginning-of-innermost-defun to python-beginning...
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:12 +0000 (00:03 -0300)]
Replaced references from python-beginning-of-innermost-defun to python-beginning-of-defun-function

12 years agoUser customizable fill-paragraph behavior.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:11 +0000 (00:03 -0300)]
User customizable fill-paragraph behavior.

For this, four new variables which contain the symbol name of the
function that specifies the behavior of fill-paragraph on certain
conditions were added:

    * python-fill-comment-function: For comments
    * python-fill-string-function: For strings
    * python-fill-decorator-function: For decorators
    * python-fill-paren-function: For parens

All of these variables are safe local variables in the case the value
provided is a symbol. Out of the box, they default to these four new
functions respectively:

    * python-fill-comment
    * python-fill-string
    * python-fill-decorator
    * python-fill-paren

12 years agoCorrected implementations for python-{beginning,end}-of-defun functions.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:11 +0000 (00:03 -0300)]
Corrected implementations for python-{beginning,end}-of-defun functions.

When point is at beginning-of-defun, end-of-defun moves to the end of
the defun, even if it contains nested defuns. When point is at any
inner defun end-of-defun moves to the end of it, if another inner
defun exists at the same level point is moved to it.

For beginning-of-defun things are funkier, it would move backwards
following nested defuns in order. This will be fixed soon.

Note: Decorators are considered part of defuns.

Removed:
    * python-use-beginning-of-innermost-defun
    * python-beginning-of-innermost-defun-regexp

Renamed:
    * python-beginning-of-defun => python-nav-beginning-of-defun
    * python-beginning-of-defun-regexp => python-nav-beginning-of-defun-regexp

12 years agoNew variable python-use-beginning-of-innermost-defun
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:11 +0000 (00:03 -0300)]
New variable python-use-beginning-of-innermost-defun

Controls if beginning-of-defun function should go to outermost or
innermost defun.

12 years agoBetter indentation handling when inside parens.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:10 +0000 (00:03 -0300)]
Better indentation handling when inside parens.

12 years agoFixed indentation issue when indenting a python-indent-dedenter from end of line
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:10 +0000 (00:03 -0300)]
Fixed indentation issue when indenting a python-indent-dedenter from end of line

12 years agonew variables python-shell-process-environment and python-shell-exec-path
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:10 +0000 (00:03 -0300)]
new variables python-shell-process-environment and python-shell-exec-path

The main reason for these new variables is virtualenv support.

12 years agoNew variable python-shell-send-setup-max-wait
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:09 +0000 (00:03 -0300)]
New variable python-shell-send-setup-max-wait

Controls the timeout for output just before sending the setup code.

12 years agoDocumentation enhancements
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:09 +0000 (00:03 -0300)]
Documentation enhancements

12 years agoBetter shell setup using the new python-shell-send-setup-codes function.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:09 +0000 (00:03 -0300)]
Better shell setup using the new python-shell-send-setup-codes function.

At the moment of shell setup, all the pending output is accepted so
the prompt is always displayed correctly.

12 years agoAdded indentation support for continuation of dotted expressions
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:08 +0000 (00:03 -0300)]
Added indentation support for continuation of dotted expressions

Expressions like these are now supported and indented correctly:

    Object.objects.exclude(foo=1)\
                  .filter(bar=2)\
                  .values_list('baz')

Also added a small fix to python-info-assignment-continuation-line-p
to check the match for the operator is not inside some paren.

12 years agoEnhancements to python-indent-electric-colon.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:08 +0000 (00:03 -0300)]
Enhancements to python-indent-electric-colon.

Only de-indent line if it really closes a block.

12 years agoNew function python-info-ppss-context
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:07 +0000 (00:03 -0300)]
New function python-info-ppss-context

Use this function for most syntax-ppss related tasks. While in some
parts code could be longer it makes everything more readable.

This is the first step for a cleaner indentation machinery.

12 years agoAdded commentary about installing pyreadline on system that bundles Python without...
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:07 +0000 (00:03 -0300)]
Added commentary about installing pyreadline on system that bundles Python without readline

12 years agoRemove find-file-noselect invocation in python-shell-send-file
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:07 +0000 (00:03 -0300)]
Remove find-file-noselect invocation in python-shell-send-file

12 years agoUse insert instead of insert-string
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:06 +0000 (00:03 -0300)]
Use insert instead of insert-string

12 years agoBetter non-standard shell integration support
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:06 +0000 (00:03 -0300)]
Better non-standard shell integration support

Added python-shell-prompt-output-regexp to match the prompts
added before output in shells like iPython. With the value of
this variable the output generated for
python-shell-send-string-no-ouput is cleaned up.

Moved completion variables and bindings setup for shell to
inferior-python-mode definition.

Renamed python-shell-completion-strings-code to
python-shell-completion-string-code.

improved python-shell-completion--get-completions string
splitting.

Cleaned up some unecessary messages.

Better code sending need test for python-shell-completion-setup
python-ffap-setup and python-eldoc-setup.

Added example for iPython integration in the commentary section.

12 years agoShell integration improvements and cleanups
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:06 +0000 (00:03 -0300)]
Shell integration improvements and cleanups

Removed functions python-shell-clear-latest-output and
python-shell-send-and-clear-output in favor of
python-shell-send-string-no-output.

Also python-shell-send-string now supports multiline string statements
so you won't have to worry calling python-shell-send-file again.

All this changes should make integrations with other Python shells
than standard more robust.

12 years agopython.el now bytecompiles without warnings
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:05 +0000 (00:03 -0300)]
python.el now bytecompiles without warnings

12 years agoImplemented Skeletons after GNU/Emacs python.el
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:05 +0000 (00:03 -0300)]
Implemented Skeletons after GNU/Emacs python.el

6 basic skeletons are defined: class, def, for, if, try and while.

While these skeletons are strongly based on GNU/Emacs' current
python.el a better definition macro, a generic template for
try/except/finally/else blocks and a cool menu display is included.

12 years agoExplain we have python-indent-electric-colon
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:05 +0000 (00:03 -0300)]
Explain we have python-indent-electric-colon

12 years agoDon't deactivate mark after indenting commands
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:04 +0000 (00:03 -0300)]
Don't deactivate mark after indenting commands

12 years agoSmall fix to python-indent-electric-colon
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:04 +0000 (00:03 -0300)]
Small fix to python-indent-electric-colon

Check current indentation is greater than the current calculated
indentation.

12 years agoImplemented python-indent-electric-colon
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:04 +0000 (00:03 -0300)]
Implemented python-indent-electric-colon

12 years agoFixed indentation of multi-line function call's closing parenthesis
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:03 +0000 (00:03 -0300)]
Fixed indentation of multi-line function call's closing parenthesis

12 years agoMake inferior-python-mode-current-file be set via convert-standard-filename
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:03 +0000 (00:03 -0300)]
Make inferior-python-mode-current-file be set via convert-standard-filename

12 years agoEnhanced python-shell-send-file function
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:03 +0000 (00:03 -0300)]
Enhanced python-shell-send-file function

python-shell-send-file function now can be called interactively and
will do the right thing.

Also the python code that sent the file was improved so the shell
considers the correct path when evaluating the file.

Removed the inferior-python-mode-current-temp-file variable, after
this update inferior-python-mode-current-file is enough.

12 years agoAdded commentary about auto-indentation on newlines for python-mode.el users
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:02 +0000 (00:03 -0300)]
Added commentary about auto-indentation on newlines for python-mode.el users

12 years agoUse convert-standard-filename to fix temp files path
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:02 +0000 (00:03 -0300)]
Use convert-standard-filename to fix temp files path

12 years agoFixed highlighting for dictionary assignments
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:02 +0000 (00:03 -0300)]
Fixed highlighting for dictionary assignments

12 years agoFixed pdb-track on Windows
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:01 +0000 (00:03 -0300)]
Fixed pdb-track on Windows

make-temp-file is returning the temp file path with the wrong type of
slashes.

12 years agoFixed incorrect syntax highlighting for variable assignations
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:01 +0000 (00:03 -0300)]
Fixed incorrect syntax highlighting for variable assignations

12 years agoFixed indentation guess logic to never accept 0 as a possible value
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:01 +0000 (00:03 -0300)]
Fixed indentation guess logic to never accept 0 as a possible value

12 years agoImplemented python-eldoc-at-point (python-describe-symbol replacement)
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:00 +0000 (00:03 -0300)]
Implemented python-eldoc-at-point (python-describe-symbol replacement)

12 years agoImplemented python-check
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:00 +0000 (00:03 -0300)]
Implemented python-check

12 years agoSmall changes to ffap support
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:03:00 +0000 (00:03 -0300)]
Small changes to ffap support

12 years agoAdded ffap support
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:59 +0000 (00:02 -0300)]
Added ffap support

12 years agoSimplified python-eldoc-function using python-shell-send-and-clear-output
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:59 +0000 (00:02 -0300)]
Simplified python-eldoc-function using python-shell-send-and-clear-output

12 years agoImplemeneted python-shell-clear-latest-output and python-shell-send-and-clear-output
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:59 +0000 (00:02 -0300)]
Implemeneted python-shell-clear-latest-output and python-shell-send-and-clear-output

Also Simplified python-shell-completion--get-completions using
python-shell-send-and-clear-output

12 years agoEldoc integration is now compatible with python 3
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:58 +0000 (00:02 -0300)]
Eldoc integration is now compatible with python 3

12 years agoMake shell use completion-at-point for autocompletion.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:58 +0000 (00:02 -0300)]
Make shell use completion-at-point for autocompletion.

12 years agoFixed called-interactively-p invocation.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:57 +0000 (00:02 -0300)]
Fixed called-interactively-p invocation.

12 years agoCleaned up TODO
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:57 +0000 (00:02 -0300)]
Cleaned up TODO

12 years agoEnhanced shell and code autocompletion.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:57 +0000 (00:02 -0300)]
Enhanced shell and code autocompletion.

python-shell-completion-complete-at-point and
python-completion-complete-at-point now share common code.

Also lots of fixes related to the cleanup of shell output has been
made so completion code is really robust now.

12 years agoFixes to shell completion at point
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:57 +0000 (00:02 -0300)]
Fixes to shell completion at point

12 years agoFixed shell region sending
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:56 +0000 (00:02 -0300)]
Fixed shell region sending

12 years agoDocumentation fixes
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:56 +0000 (00:02 -0300)]
Documentation fixes

12 years agoDo not indent at the beginning of buffer fix
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:56 +0000 (00:02 -0300)]
Do not indent at the beginning of buffer fix

12 years agoDo not indent at the beginning of buffer
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:55 +0000 (00:02 -0300)]
Do not indent at the beginning of buffer

12 years agoFixed infinite while loop in python-info-current-defun
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:55 +0000 (00:02 -0300)]
Fixed infinite while loop in python-info-current-defun

Was caused when a beginning of defun was in the beginning of buffer
because python-beginning-of-innermost-defun never reached the real
start when (bobp)

12 years agoModified autocompletion code setup
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:54 +0000 (00:02 -0300)]
Modified autocompletion code setup

Now it is compatible with python 2.x and python 3.x

12 years agoFixed indentation inside parens when comments are around
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:54 +0000 (00:02 -0300)]
Fixed indentation inside parens when comments are around

12 years agopython-indent-guess-indent-offset improvements
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:54 +0000 (00:02 -0300)]
python-indent-guess-indent-offset improvements

12 years agoFixed backspace behavior for delete-selection-mode.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:53 +0000 (00:02 -0300)]
Fixed backspace behavior for delete-selection-mode.

12 years agoEnhanced python-indent-guess-indent-offset logic.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:53 +0000 (00:02 -0300)]
Enhanced python-indent-guess-indent-offset logic.

12 years agopython-shell-get-or-create-process preserves current buffer.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:53 +0000 (00:02 -0300)]
python-shell-get-or-create-process preserves current buffer.

12 years agoGeneralized use of python-shell-send-file with cleanup of prompts.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:52 +0000 (00:02 -0300)]
Generalized use of python-shell-send-file with cleanup of prompts.

12 years agoCleanup prompts when sending region to shell.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:52 +0000 (00:02 -0300)]
Cleanup prompts when sending region to shell.

12 years agoFirst commit.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:52 +0000 (00:02 -0300)]
First commit.

12 years agoAdded blank python.el to workaround bzr git-apply issues
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:02:42 +0000 (00:02 -0300)]
Added blank python.el to workaround bzr git-apply issues

12 years agoDeleted lisp/progmodes/python.el as first step of the new python.el merge.
Fabián Ezequiel Gallina [Thu, 17 May 2012 03:01:30 +0000 (00:01 -0300)]
Deleted lisp/progmodes/python.el as first step of the new python.el merge.

12 years agoInstall a self-contained NS build's libexec directly into the right place
Glenn Morris [Thu, 17 May 2012 01:23:03 +0000 (21:23 -0400)]
Install a self-contained NS build's libexec directly into the right place
This is rather than installing it in one place then moving it.

* configure.in (archlibdir): Set it for self-contained ns builds.
(libexecdir): Don't expand it now (this is mainly cosmetic).

* Makefile.in (ns_appbindir, ns_appresdir):
Move them before things that may refer to them.
(install-arch-dep): No need to relocate self-contained ns libexec.

* lib-src/Makefile.in (ns_appbindir): New, set by configure.

12 years agoMove word search functions from search.c to isearch.el (bug#10145, bug#11381).
Juri Linkov [Thu, 17 May 2012 00:03:49 +0000 (03:03 +0300)]
Move word search functions from search.c to isearch.el (bug#10145, bug#11381).

* lisp/isearch.el (word-search-regexp, word-search-backward)
(word-search-forward, word-search-backward-lax)
(word-search-forward-lax): Move functions from search.c.

* src/search.c (Fword_search_regexp, Fword_search_backward)
(Fword_search_forward, Fword_search_backward_lax)
(Fword_search_forward_lax): Move functions to isearch.el.

12 years agoAuto-commit of generated files.
Glenn Morris [Wed, 16 May 2012 10:17:25 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years ago* configure.in: Simplify by removing CPP etc.
Paul Eggert [Wed, 16 May 2012 09:01:55 +0000 (02:01 -0700)]
* configure.in: Simplify by removing CPP etc.

(CPP_TEST_OPTIONS, NON_GNU_CPP, cc_specified, SPECIFIED_CFLAGS)
(SPECIFED_CPP, CPP, NON_GNU_CC, AC_PROG_CPP): Remove; not needed.
In particular we no longer need to fiddle with CPP, since we don't
use CPP specially any more.
(gl_EARLY): Invoke this after adjusting CC, so that it uses the
adjusted compiler.
(AC_PROG_INSTALL, AC_PROG_MKDIR_P, AC_PROG_RANLIB): Comment out,
since gl_EARLY and/or Autoconf already does these.

12 years agotextmodes/flyspell.el: Delay for otherchars as for normal word components.
Agustín Martín [Wed, 16 May 2012 08:35:11 +0000 (10:35 +0200)]
textmodes/flyspell.el: Delay for otherchars as for normal word components.

(flyspell-check-pre-word-p,
 flyspell-check-word-p,
 flyspell-debug-signal-word-checked):

Use for otherchars the same delay used for other word components, so word
is not inmediately checked unless we are in a char that is neither a normal
word component nor an otherchar.

12 years agoTry to fix building with gcc >= 4.6 on Darwin.
Glenn Morris [Wed, 16 May 2012 06:15:52 +0000 (23:15 -0700)]
Try to fix building with gcc >= 4.6 on Darwin.
Eg, hydra builds have been failing for some time because (?) of this.
In gcc < 4.6, unrecognized -no-fo options just cause a warning.
In 4.6 and later, they cause an error.

* configure.in: (CPP): Do not unconditionally set it on Darwin.
Instead, try to test if -no-cpp-precomp is accepted.
(CPP_TEST_OPTIONS, SPECIFIED_CPP): New.

Fixes: debbugs:9755
12 years ago* xgselect.c (xg_select): Just invoke 'select' if -nw.
Paul Eggert [Wed, 16 May 2012 02:22:53 +0000 (19:22 -0700)]
* xgselect.c (xg_select): Just invoke 'select' if -nw.

Suggested by Ken Brown.

Fixes: debbugs:9754
12 years ago* lisp/minibuffer.el (completion--sifn-requote): Fix last change.
Stefan Monnier [Wed, 16 May 2012 01:57:20 +0000 (21:57 -0400)]
* lisp/minibuffer.el (completion--sifn-requote): Fix last change.
(minibuffer-local-must-match-filename-map):
Move define-obsolete-variable-alias before its var.

12 years ago* src/lread.c (init_obarray): Declare Qt and Qnil as special.
Stefan Monnier [Tue, 15 May 2012 20:20:18 +0000 (16:20 -0400)]
* src/lread.c (init_obarray): Declare Qt and Qnil as special.

12 years agoTweak line-breaks in previous change
Glenn Morris [Tue, 15 May 2012 19:17:24 +0000 (15:17 -0400)]
Tweak line-breaks in previous change

12 years ago* Makefile.in (install-arch-dep): Replace last user of MV_DIRS.
Glenn Morris [Tue, 15 May 2012 19:13:17 +0000 (15:13 -0400)]
* Makefile.in (install-arch-dep): Replace last user of MV_DIRS.

12 years ago* lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
Stefan Monnier [Tue, 15 May 2012 18:45:27 +0000 (14:45 -0400)]
* lisp/emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.

12 years ago* lisp/minibuffer.el (completion--sifn-requote): Handle sifn's truncation
Stefan Monnier [Tue, 15 May 2012 18:07:36 +0000 (14:07 -0400)]
* lisp/minibuffer.el (completion--sifn-requote): Handle sifn's truncation
behavior.
(completion--string-equal-p): New function.
(completion--twq-all): Use it to get better assertion failure data.

12 years ago* Makefile.in (install-arch-dep): Replace use of MV_DIRS with libexec.
Glenn Morris [Tue, 15 May 2012 17:55:39 +0000 (13:55 -0400)]
* Makefile.in (install-arch-dep): Replace use of MV_DIRS with libexec.

12 years ago* Makefile.in (install-arch-dep): Replace use of MV_DIRS with info.
Glenn Morris [Tue, 15 May 2012 17:49:59 +0000 (13:49 -0400)]
* Makefile.in (install-arch-dep): Replace use of MV_DIRS with info.
This make it easier to see what is going on.

12 years agoNEWS fixes
Glenn Morris [Tue, 15 May 2012 17:38:41 +0000 (13:38 -0400)]
NEWS fixes

12 years ago* Makefile.in (install-arch-dep): Do not hard-code version number.
Glenn Morris [Tue, 15 May 2012 17:32:42 +0000 (13:32 -0400)]
* Makefile.in (install-arch-dep): Do not hard-code version number.

12 years agoStop NS install symlinking libexec/* into bin/
Glenn Morris [Tue, 15 May 2012 17:09:00 +0000 (13:09 -0400)]
Stop NS install symlinking libexec/* into bin/

* Makefile.in (install-arch-dep): NS install no longer needs to
symlink libexec/* into bin/, since 2012-05-14 ns_init_paths change.

12 years agoOnly handle ".." and '..' quoting in shell-mode.
Stefan Monnier [Tue, 15 May 2012 16:58:35 +0000 (12:58 -0400)]
Only handle ".." and '..' quoting in shell-mode.
* lisp/shell.el (shell--unquote&requote-argument, shell--unquote-argument)
(shell--requote-argument): New functions.
(shell-completion-vars): Use them.
(shell--parse-pcomplete-arguments): Rename from
shell-parse-pcomplete-arguments.
* lisp/comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
(comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
Obey comint-file-name-quote-list.

Fixes: debbugs:11466