Commit Graph

23 Commits

Author SHA1 Message Date
Noam Postavsky
e04caeb256 el-get-describe: pretty print recipe definition
* el-get-recipes.el (el-get-recipe-pprint): New function.
* el-get.el (el-get-write-recipe): Use it.
* el-get-list-packages.el (el-get-describe-1): Use it instead of princ.
(el-get-describe): Call el-get-describe-1 inside with-current-buffer
invocation, since el-get-recipe-pprint causes output to go straight to
the current buffer rather than standard-output.
2015-01-21 22:12:17 -05:00
Noam Postavsky
94a4a62b92 Fix compilation errors/warnings under elpa
* el-get-list-packages.el (el-get-read-package-status): Declare.
* el-get-status.el (el-get-print-package): Declare.
(el-get-status-cache): Move definition before use.
* el-get-methods.el (add-to-list): Set load-path during compilation too.
2014-10-29 18:28:00 -04:00
Noam Postavsky
650f77436f keep package menu aligned when updating it
Note that this problem only shows up in after
  (setq-default indent-tabs-mode nil)
2014-04-18 12:27:03 -04:00
Noam Postavsky
d30ddb78e1 fix byte compile warnings
Move more variables to el-get-custom.el, add requires or
declare-functions as needed.

There were a few places that appeared to be actual bugs: wrong or
missing variable names.
2014-03-22 18:43:42 -04:00
Noam Postavsky
fd3a3f5197 fontify package-list menu correctly
Fontify before inserting description+NL so that we fontify the current
line rather than the next (not yet generated) one.
2014-03-14 18:38:59 -04:00
Noam Postavsky
7e05182170 don't use called-interactively-p
Replace it with always t interactive spec, as suggested by its
docstring.
2014-03-05 00:07:54 -05:00
Noam Postavsky
0ffbca2df9 only fetch description when first building menu 2014-02-28 23:04:25 -05:00
Noam Postavsky
e9fab9a78f update package list when status changes
Since installation can be asynchronous, refreshing the menu at the end
of el-get-package-menu-execute doesn't help, therefore we update from
el-get-save-package-status instead.
2014-02-28 23:04:25 -05:00
Ryan C. Thompson
cf34f9aa0a Clean up whitespace
This commit is the result of running cleanup-whitespace.sh.

Fixes #549.
2014-02-21 10:52:48 -08:00
Rüdiger Sonderfeld
ef950e521c el-get-describe: Show install path and provide `el-get-cd'.
If the package is installed `el-get-describe' will now show the
install path and provide an interface similar to `el-get-cd'.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2013-09-16 15:50:45 +02:00
Rüdiger Sonderfeld
19c3fa3f16 el-get-describe: Inform user about minimum version requirement.
* el-get-list-packages.el (el-get-describe-1): Inform user about
  minimum version requirement.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2013-07-26 15:59:26 +02:00
Rüdiger Sonderfeld
6005050337 el-get-describe: Add punctuation after installation method.
* el-get-list-packages.el (el-get-describe-1): Add punctuation after
  installation method.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2013-07-26 15:58:28 +02:00
Rüdiger Sonderfeld
e6e92bfe48 Improve `el-get-describe' of :builtin packages.
Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2013-07-08 20:44:48 +02:00
Rüdiger Sonderfeld
ea84558902 Handle :builtin correctly in `el-get-describe'.
So far :builtin is ignored by `el-get-describe' and the regular
install method is always displayed.  With this patch the builtin
information is instead displayed.

Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2013-05-13 23:22:39 +02:00
Reuben Thomas
ed740af662 Add keymap to docstring for el-get-package-menu-mode. 2013-04-16 10:19:40 +01:00
Victor Deryagin
0a202ea35d changed mentions of 'README.asciidoc' to 'README.md' in source files 2013-04-01 15:46:34 +03:00
Sébastien Gross
dd7cd1617e Add function to display recipe file from the package menu using the 'v' key.
Signed-off-by: Sébastien Gross <seb•ɑƬ•chezwam•ɖɵʈ•org>
2013-01-17 14:33:09 +01:00
Ryan C. Thompson
cb787b2a7a Always print with "print-level" and "print-length" nil
This prevents Emacs from inserting "..." in place of very deep or long
data structures, which could corrupt the status file in some cases.
This is done by defining a wrapper function "el-get-print-to-string",
which el-get should use for all "critical" stringification tasks.

As noted in #689.
2012-03-29 14:52:43 -07:00
Ryan C. Thompson
b96ae5bbb9 Remove reference to removed function
Also, require a package's directory to exist before considering it
installed.
2012-03-06 01:11:55 -08:00
Ryan C. Thompson
59c8c440e7 Add support for method website guessers 2012-02-28 17:58:28 -08:00
Julien Danjou
491ed855ba Add missing autoload flags for interactive functions
Signed-off-by: Julien Danjou <julien@danjou.info>
2011-10-14 16:30:16 +02:00
Kyle Hargraves
57ff1cc90e el-get-describe: guess a project's github URL if no website was defined in the recipe 2011-09-30 17:28:26 -05:00
Dimitri Fontaine
0433ca0ce9 Refactoring it all: a beginning. No time for testing yet, just showing ideas. 2011-09-20 15:15:52 +02:00