Questions Tagged With emacshttp://linuxexchange.org/tags/emacs/?type=rssquestions tagged <span class="tag">emacs</span>enThu, 23 Jun 2011 08:06:12 -0400emacs can't open displayhttp://linuxexchange.org/questions/2618/emacs-cant-open-display<p>Just recently this has started happening.</p> <p>I run: <code>/usr/bin/emacsclient --alternate-editor="" --no-wait -c</code> and get `<em>ERROR</em>: Display :0.0 can't be opened'</p> <p>No other application do this.</p> <p>output from xdpyinfo:</p> <pre><code>name of display: :0.0 version number: 11.0 vendor string: The <a href="http://X.Org">X.Org</a> Foundation vendor release number: 10707000 <a href="http://X.Org">X.Org</a> version: 1.7.7 ..... </code></pre> <h1>Additional</h1> <p>Discovered that old emacs servers/daemons are still running.</p> <p>$ps ux | grep [e]macs richard 2642 0.0 0.8 38788 24984 ? Ss Jun22 0:25 emacs --daemon richard 7512 0.0 0.6 33896 19720 ? Ss Jun23 0:05 emacs --daemon richard 15458 0.0 0.6 32836 19076 ? Ss 09:40 0:01 emacs --daemon</p> <p>Any one any ideas how these can be shut-down when I log-off?</p>daves dadThu, 23 Jun 2011 08:06:12 -0400http://linuxexchange.org/questions/2618/emacs-cant-open-displayemacsdebianxorgautomatically run an (emacs-)command on startup/shutdown of emacshttp://linuxexchange.org/questions/2365/automatically-run-an-emacs-command-on-startupshutdown-of-emacs<p>I use <a href="http://mobileorg.ncogni.to/">MobileOrg</a> to synchronize my <code>emacs</code> org-files with my mobile. For correct synchronization, mobile-org requires me to run <code>org-mobile-push</code> and <code>org-mobile-pull</code> from within emacs.</p> <p>I can automatically run <code>org-mobile-pull</code> on startup by inserting</p> <pre><code>(org-mobile-pull) </code></pre> <p>into my <code>.emacs</code> file, but how do I automatically run an emacs command when <strong>closing</strong> emacs?</p>JazzMon, 18 Apr 2011 08:30:14 -0400http://linuxexchange.org/questions/2365/automatically-run-an-emacs-command-on-startupshutdown-of-emacsstartupemacsshutdownautomationWhat is your text editor of choice?http://linuxexchange.org/questions/901/what-is-your-text-editor-of-choice<p>I was curious to know what is the editor of choice for my fellow Linux users. For years it has been a vi vs. emacs debate but it appears there many more. Please reply with your favorite editor. I personally prefer vim.</p>AndyWed, 23 Jun 2010 14:54:09 -0400http://linuxexchange.org/questions/901/what-is-your-text-editor-of-choiceshellviemacsHow to make mouse wheel scroll ONE line at a time in Emacs ?http://linuxexchange.org/questions/863/how-to-make-mouse-wheel-scroll-one-line-at-a-time-in-emacs<p>My mouse wheel scrolls 3 lines at a time (in the Emacs screen) !</p> <p>I tried the following link, but it didn't succeed. <a href="http://www.emacswiki.org/emacs/SmoothScrolling" rel="nofollow">http://www.emacswiki.org/emacs/SmoothScrolling</a></p> <p>Kindly guide.</p>anishakaulWed, 16 Jun 2010 09:19:25 -0400http://linuxexchange.org/questions/863/how-to-make-mouse-wheel-scroll-one-line-at-a-time-in-emacsemacsBest emacs workspace solution?http://linuxexchange.org/questions/642/best-emacs-workspace-solution<p>I use emacs for working on various projects in different programming languages. While working on those projects, I modify the environment a lot. Most notably, I split the window in a specific way, load a lot of files and sometimes change the mode on those files.</p> <p>Everytime I start working on a project, I have to make those same changes. Furthermore, changing between the projects is a pain.</p> <p>While I know of desktop-mode, it doesn't solve problems like window splitting.</p> <p>What I would like to have is something like eclipse offers with its workspaces: On start of the program, it asks for a workspace and, if one is existant, restores the previous look and feel.</p> <p>How do you achieve something similar? If you use one of the many workspace/project-hooks, which hook do you prefer and why?</p>JazzTue, 18 May 2010 16:26:08 -0400http://linuxexchange.org/questions/642/best-emacs-workspace-solutionemacsworkspaceprojectcustomization