https://wikemacs.org/api.php?action=feedcontributions&user=GergelyPolonkai&feedformat=atomWikEmacs - User contributions [en]2024-03-28T19:17:40ZUser contributionsMediaWiki 1.35.14https://wikemacs.org/index.php?title=Webjump&diff=47661Webjump2016-10-28T10:17:56Z<p>GergelyPolonkai: Add package box, an example, and a page category</p>
<hr />
<div>{{Package<br />
|name=webjump<br />
|description=Programmable Web Hotlist<br />
|author = Neil W. Van Dyke<br />
|maintainer = Unknown<br />
|in_emacs=yes<br />
|source=http://www.neilvandyke.org/webjump/<br />
}}<br />
<br />
Webjump is a programmable Web hotlist facility that uses Emacs [[completion]] to select a hotlist item and can prompt for query and option parameters.<br />
<br />
You can invoke it with {{Command|webjump}}, and you will be immediately given a list of sites you may want to reach (some notable examples are the EmacsWiki and search sites like DuckDuckGo and Google.)<br />
<br />
== Examples ==<br />
<br />
To add WikEmacs and the Emacs StackExchange site:<br />
<br />
<syntaxhighlight lang="lisp"><br />
<br />
(setq webjump-sites<br />
(append '(<br />
("WikEmacs" . [simple-query "www.wikemacs.org"<br />
"www.wikemacs.org/wiki/"<br />
""])<br />
("Emacs SE" . [simple-query "emacs.stackexchange.com"<br />
<nowiki>"https://emacs.stackexchange.com/search?q="</nowiki><br />
""])<br />
)<br />
webjump-sample-sites))<br />
</syntaxhighlight><br />
<br />
[[Category:Package]]</div>GergelyPolonkaihttps://wikemacs.org/index.php?title=WikEmacs:Guidelines&diff=47660WikEmacs:Guidelines2016-10-28T08:27:15Z<p>GergelyPolonkai: Change order of SE sites. Emacs.SE is no longer in beta, so it’s better to ask there!</p>
<hr />
<div>'''How can we maintain and improve quality of this Wiki?'''<br />
* Stick to Emacs-24 and Emacs-23.<br />
* Keep things short and sweet. Mark things that should stand out in '''bold'''. <br />
* Use [http://en.wikipedia.org/wiki/Active_voice Active voice]<br />
* Give tips. Document things that are difficult to find or share your wisdom.<br />
* Don't reproduce existing documentation. Instead link to them.<br />
* It's OK to write long tutorial Pages. Use '''Tutorial:Tutorial Namespace''' for it. Assign categories for easily finding the tutorial.<br />
* If you are a regular blogger, consider donating your articles to this Wiki.<br />
* For discussions, use the '''Discussion page''' instead of posting to the article pages. Sign your comments using <nowiki>~~~~</nowiki>. <br />
* We cannot host code extensions and elisp packages here. Use [https://github.com GitHub] or similar code hosting site.<br />
* {{Note}} this is not a QA site. Emacs questions are better answered at the [http://emacs.stackexchange.com/ Emacs-specific StackExchange site] or on [http://stackoverflow.com/questions/tagged/emacs Stackoverflow]. However, if you have an answer to a good question or problem, add in the appropriate page.<br />
* '''Code snippets''' are most welcome. But comment about what precisely the snippet does. Document any limitations as well. <br />
<br />
== Mediawiki Help == <br />
* [http://meta.wikimedia.org/wiki/Help:Wikitext_examples Help with Mediawiki markup]<br />
<br />
== Creating new pages ==<br />
To create a new page, do this:<br />
# Visit [http://wikemacs.org/index.php/Template:NewPage?action=edit Template:NewPage] and copy the text area to clipboard. Feel free to modify the template. <br />
# Goto [[WikEmacs:Scratch Buffer]]<br />
# Add this <nowiki>[[Test Page]]</nowiki> and save the scratch buffer.<br />
# Click on the new Wiki link to create a blank page and paste the contents of clipboard there.<br />
# Save the newly created page.<br />
# Now you have a basic template which you can expand upon. Add content to the new page as you please.<br />
<br />
== Templates ==<br />
There are templates defined for referencing ''variables'', ''function'', ''command'', ''keys'', ''manual'' etc. Use them for uniformity. See [[:Category:Templates]]. Each template page should describe how to use that template. A few common examples:<br />
<br />
{| border="1" cellpadding="5" cellspacing="0" width="75%"<br />
|-<br />
!What it looks like<br />
!What you type<br />
|-<br />
| <h2>Headline text</h2><br />
| <pre>== Headline text ==</pre><br />
|-<br />
| {{Manual|emacs|Major-Modes|Major Modes}}<br />
| <pre>{{Manual|emacs|Major-Modes|Major Modes}}</pre><br />
|-<br />
| {{CommandKeys|C-x C-f|find-file}}<br />
| <pre>{{CommandKeys|C-x C-f|find-file}}</pre><br />
|-<br />
| {{Keys|C-x C-c}}<br />
| <pre>{{Keys|C-x C-c}}</pre><br />
|-<br />
| {{Keys|C-x f|set-fill-column}}<br />
| <pre>{{Keys|C-x f|set-fill-column}}</pre><br />
|-<br />
| {{Command|find-file}} <br />
| <pre>{{Command|find-file}}</pre> <br />
|-<br />
| {{CustomizeVariable|c-default-style}} <br />
| <pre>{{CustomizeVariable|c-default-style}}</pre><br />
|-<br />
| {{Snippet|(global-set-key (kbd "C-c c") 'org-capture)}}<br />
| <pre>{{Snippet|(global-set-key (kbd "C-c c") 'org-capture)}}</pre><br />
|}<br />
<br />
== Categories ==<br />
<br />
Special categories, such as ''Operating system'', ''Emacs releases'', ''Programming languages'', should be used to introduce new categories. See [[Special:Categories]].<br />
<br />
[[Category:WikEmacs Contributor]]</div>GergelyPolonkaihttps://wikemacs.org/index.php?title=Talk:Shell&diff=47659Talk:Shell2016-10-26T07:33:39Z<p>GergelyPolonkai: /* shell-here */ new section</p>
<hr />
<div>Interesting links on history and persistency: <br />
* http://stackoverflow.com/questions/22949834/emacs-shell-command-history-lost-after-restart<br />
* http://oleksandrmanzyuk.wordpress.com/2011/10/23/a-persistent-command-history-in-emacs/<br />
* persistent.el looks useful too for grep, recent files, compilation history: https://github.com/alienacorn/dotemacs/blob/master/persistent.el<br />
[[User:Elvince|Elvince]] ([[User talk:Elvince|talk]]) 11:53, 15 April 2014 (EDT)<br />
<br />
== shell-here ==<br />
<br />
There is a mention of shell-here; however, it seems Emacs 25.1 does this by default, ie. opens the shell in the directory of the current buffer.<br />
<br />
[[User:GergelyPolonkai|GergelyPolonkai]] ([[User talk:GergelyPolonkai|talk]]) 03:33, 26 October 2016 (EDT)</div>GergelyPolonkai