* emacsclient not integrated into modern window systems @ 2015-07-11 3:24 Rusi 2015-07-11 10:54 ` Rasmus ` (6 more replies) 0 siblings, 7 replies; 21+ messages in thread From: Rusi @ 2015-07-11 3:24 UTC (permalink / raw) To: help-gnu-emacs Student of mine asked me if its possible to have emacs open from the file browser. [By default it opens with gedit] For 1/2 hour we tried to find properties/open-with etc to make it emacsclient but to no avail After a lot of struggle the best I came up with was the below steps. So... If installing emacs (using say apt) makes emacs an established app to open (some) mimetypes, why is emacsclient not setup similarly? [I realize that this question may be more suitable for ubuntu/gnome/ etc folks... Still thought I'd ask] ------------------------- 0. Put (server-start) into init.el Check that now 'emacsclient somefile' from a shell starts the same emacs 1. Put the following (between the --------- and ------------- ) into the file ~/.local/share/applications/emacs.desktop --------- [Desktop Entry] Name=EmacsClient GenericName=Text Editor Comment=Edit text MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; Exec=emacsclient -n -a emacs %F Icon=emacs Type=Application Terminal=false Categories=Development;TextEditor; StartupWMClass=Emacs --------- 2. Now in file browser, click on a file you want opened in emacs and click properties -> open-with Here you should find 'EmacsClient' somewhere down. You can make it default Note: Between 1 and 2 you may need to reboot (actually logout of X-windows is enough) ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-11 3:24 emacsclient not integrated into modern window systems Rusi @ 2015-07-11 10:54 ` Rasmus [not found] ` <mailman.6717.1436612090.904.help-gnu-emacs@gnu.org> ` (5 subsequent siblings) 6 siblings, 0 replies; 21+ messages in thread From: Rasmus @ 2015-07-11 10:54 UTC (permalink / raw) To: help-gnu-emacs Rusi <rustompmody@gmail.com> writes: > Student of mine asked me if its possible to have emacs open from the > file browser. [By default it opens with gedit] > For 1/2 hour we tried to find properties/open-with etc to make it emacsclient > but to no avail > > After a lot of struggle the best I came up with was the below steps. > So... If installing emacs (using say apt) makes emacs an established app to open > (some) mimetypes, why is emacsclient not setup similarly? You can basically replace call to Emacs with emacsclient -ca ''. I also use various .desktop files for starting Emacs, Gnus, EMMS etc in Gnome-3. Rasmus -- Don't panic!!! ^ permalink raw reply [flat|nested] 21+ messages in thread
[parent not found: <mailman.6717.1436612090.904.help-gnu-emacs@gnu.org>]
* Re: emacsclient not integrated into modern window systems [not found] ` <mailman.6717.1436612090.904.help-gnu-emacs@gnu.org> @ 2015-07-11 11:12 ` Rusi 2015-07-11 16:34 ` Raffaele Ricciardi 0 siblings, 1 reply; 21+ messages in thread From: Rusi @ 2015-07-11 11:12 UTC (permalink / raw) To: help-gnu-emacs On Saturday, July 11, 2015 at 4:24:52 PM UTC+5:30, Rasmus wrote: > Rusi writes: > > > Student of mine asked me if its possible to have emacs open from the > > file browser. [By default it opens with gedit] > > For 1/2 hour we tried to find properties/open-with etc to make it emacsclient > > but to no avail > > > > After a lot of struggle the best I came up with was the below steps. > > So... If installing emacs (using say apt) makes emacs an established app to open > > (some) mimetypes, why is emacsclient not setup similarly? > > You can basically replace call to Emacs with emacsclient -ca ''. I also > use various .desktop files for starting Emacs, Gnus, EMMS etc in Gnome-3. The setup I described is working (best that I know). I am asking not how-to but why-to. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-11 11:12 ` Rusi @ 2015-07-11 16:34 ` Raffaele Ricciardi 0 siblings, 0 replies; 21+ messages in thread From: Raffaele Ricciardi @ 2015-07-11 16:34 UTC (permalink / raw) To: help-gnu-emacs On 11/07/15 13:12, Rusi wrote: > The setup I described is working (best that I know). > I am asking not how-to but why-to. This is not a problem of Emacs, but rather of "modern" window systems, that make simple customizations like this cumbersome. If Emacs was already installed, or it was installed via a package manager, then the operating system should have had taken care of this. If instead you built Emacs from source, then you would have faced this problem with any other editor. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-11 3:24 emacsclient not integrated into modern window systems Rusi 2015-07-11 10:54 ` Rasmus [not found] ` <mailman.6717.1436612090.904.help-gnu-emacs@gnu.org> @ 2015-07-11 12:20 ` Vaidheeswaran C [not found] ` <mailman.6720.1436617209.904.help-gnu-emacs@gnu.org> ` (3 subsequent siblings) 6 siblings, 0 replies; 21+ messages in thread From: Vaidheeswaran C @ 2015-07-11 12:20 UTC (permalink / raw) To: Rusi, help-gnu-emacs I am on Debian Wheezy and I can "Open With" both emacs or gnuclient. /usr/share/applications/gnuserv.desktop /usr/share/applications/emacs23.desktop I also remember playing around with text editor alternatives sometime back. https://wiki.debian.org/DebianAlternatives Shouldn't you raise the issue with your specific distribution? On Saturday 11 July 2015 08:54 AM, Rusi wrote: > Student of mine asked me if its possible to have emacs open from the file browser. [By default it opens with gedit] > For 1/2 hour we tried to find properties/open-with etc to make it emacsclient > but to no avail > > After a lot of struggle the best I came up with was the below steps. > So... If installing emacs (using say apt) makes emacs an established app to open > (some) mimetypes, why is emacsclient not setup similarly? > > [I realize that this question may be more suitable for ubuntu/gnome/ etc folks... > Still thought I'd ask] > > ------------------------- > 0. Put (server-start) into init.el > Check that now 'emacsclient somefile' from a shell starts the same emacs > > 1. Put the following (between the --------- and ------------- ) > into the file ~/.local/share/applications/emacs.desktop > --------- > [Desktop Entry] > Name=EmacsClient > GenericName=Text Editor > Comment=Edit text > MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; > Exec=emacsclient -n -a emacs %F > Icon=emacs > Type=Application > Terminal=false > Categories=Development;TextEditor; > StartupWMClass=Emacs > --------- > > 2. Now in file browser, click on a file you want opened in emacs and > click properties -> open-with > Here you should find 'EmacsClient' somewhere down. > You can make it default > > Note: Between 1 and 2 you may need to reboot (actually logout of X-windows is enough) > ^ permalink raw reply [flat|nested] 21+ messages in thread
[parent not found: <mailman.6720.1436617209.904.help-gnu-emacs@gnu.org>]
* Re: emacsclient not integrated into modern window systems [not found] ` <mailman.6720.1436617209.904.help-gnu-emacs@gnu.org> @ 2015-07-11 12:24 ` Rusi 0 siblings, 0 replies; 21+ messages in thread From: Rusi @ 2015-07-11 12:24 UTC (permalink / raw) To: help-gnu-emacs On Saturday, July 11, 2015 at 5:50:12 PM UTC+5:30, Vaidheeswaran C wrote: > I am on Debian Wheezy and I can "Open With" both emacs or gnuclient. > > /usr/share/applications/gnuserv.desktop > /usr/share/applications/emacs23.desktop > > I also remember playing around with text editor alternatives sometime > back. > > https://wiki.debian.org/DebianAlternatives > > Shouldn't you raise the issue with your specific distribution? > > > On Saturday 11 July 2015 08:54 AM, Rusi wrote: > > Student of mine asked me if its possible to have emacs open from the file browser. [By default it opens with gedit] > > For 1/2 hour we tried to find properties/open-with etc to make it emacsclient > > but to no avail > > > > After a lot of struggle the best I came up with was the below steps. > > So... If installing emacs (using say apt) makes emacs an established app to open > > (some) mimetypes, why is emacsclient not setup similarly? > > > > [I realize that this question may be more suitable for ubuntu/gnome/ etc folks... > > Still thought I'd ask] > > > > ------------------------- > > 0. Put (server-start) into init.el > > Check that now 'emacsclient somefile' from a shell starts the same emacs > > > > 1. Put the following (between the --------- and ------------- ) > > into the file ~/.local/share/applications/emacs.desktop > > --------- > > [Desktop Entry] > > Name=EmacsClient > > GenericName=Text Editor > > Comment=Edit text > > MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; > > Exec=emacsclient -n -a emacs %F > > Icon=emacs > > Type=Application > > Terminal=false > > Categories=Development;TextEditor; > > StartupWMClass=Emacs > > --------- > > > > 2. Now in file browser, click on a file you want opened in emacs and > > click properties -> open-with > > Here you should find 'EmacsClient' somewhere down. > > You can make it default > > > > Note: Between 1 and 2 you may need to reboot (actually logout of X-windows is enough) > > Thanks If you can open with emacsclient then probably some distros get it right and some dont. But can you open with emacsclient (not gnuclient)? ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-11 3:24 emacsclient not integrated into modern window systems Rusi ` (3 preceding siblings ...) [not found] ` <mailman.6720.1436617209.904.help-gnu-emacs@gnu.org> @ 2015-07-11 18:59 ` Vaidheeswaran C 2015-07-11 19:08 ` Vaidheeswaran C [not found] ` <mailman.6736.1436641200.904.help-gnu-emacs@gnu.org> 6 siblings, 0 replies; 21+ messages in thread From: Vaidheeswaran C @ 2015-07-11 18:59 UTC (permalink / raw) To: Rusi, help-gnu-emacs On Saturday 11 July 2015 08:54 AM, Rusi wrote: > [Desktop Entry] > Name=EmacsClient > GenericName=Text Editor > Comment=Edit text > MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; > Exec=emacsclient -n -a emacs %F > Icon=emacs > Type=Application > Terminal=false > Categories=Development;TextEditor; > StartupWMClass=Emacs There is __already__ an emacs.desktop file in emacs repo. If emacsclient.desktop gets in to repo and in the NEWS file, it will induce packagers to bundle emacsclient.desktop as well. Why not file a bug report and see what happens... ~/src/emacs.git/etc$ cat emacs.desktop [Desktop Entry] Name=Emacs GenericName=Text Editor Comment=Edit text MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; Exec=emacs %F Icon=emacs Type=Application Terminal=false Categories=Development;TextEditor; StartupWMClass=Emacs Keywords=Text;Editor; ---------------------------------------------------------------- This is the diff between the repo version and the debian version. I feel the debian version is built on top of the repo version. [Desktop Entry] -Name=Emacs +Version=1.0 +Name=GNU Emacs 23 GenericName=Text Editor -Comment=Edit text +Comment=View and edit files MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; -Exec=emacs %F -Icon=emacs +Exec=/usr/bin/emacs23 %F +TryExec=emacs23 +Icon=/usr/share/icons/hicolor/scalable/apps/emacs23.svg Type=Application Terminal=false -Categories=Development;TextEditor; -StartupWMClass=Emacs -Keywords=Text;Editor; +Categories=Utility;Development;TextEditor; ---------------------------------------------------------------- Btw, once I open *.txt file with emacsclient any susbsequent opens on that file happens with emacsclient. $ xdg-mime query default text/plain userapp-emacsclient.emacs23-00DX1X.desktop $ cat ~/.local/share/applications/userapp-emacsclient.emacs23-00DX1X.desktop [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application NoDisplay=true Exec=/usr/bin/emacsclient.emacs23 %f Name=emacsclient.emacs23 Comment=Custom definition for emacsclient.emacs23 The above desktop files are created automatically by my XFCE desktop. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-11 3:24 emacsclient not integrated into modern window systems Rusi ` (4 preceding siblings ...) 2015-07-11 18:59 ` Vaidheeswaran C @ 2015-07-11 19:08 ` Vaidheeswaran C 2015-07-12 8:54 ` Vaidheeswaran C [not found] ` <mailman.6736.1436641200.904.help-gnu-emacs@gnu.org> 6 siblings, 1 reply; 21+ messages in thread From: Vaidheeswaran C @ 2015-07-11 19:08 UTC (permalink / raw) To: Rusi, help-gnu-emacs On Saturday 11 July 2015 08:54 AM, Rusi wrote: > emacsclient -n -a emacs %F For my first invocation, I just did the following.... $ emacsclient --alternate-editor="" file.txt emacsclient: can't find socket; have you started the server? To start the server in Emacs, type "M-x server-start". Warning: due to a long standing Gtk+ bug http://bugzilla.gnome.org/show_bug.cgi?id=85715 Emacs might crash when run in daemon mode and the X11 connection is unexpectedly lost. Using an Emacs configured with --with-x-toolkit=lucid does not have this problem. Loading desktop... ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-11 19:08 ` Vaidheeswaran C @ 2015-07-12 8:54 ` Vaidheeswaran C 0 siblings, 0 replies; 21+ messages in thread From: Vaidheeswaran C @ 2015-07-12 8:54 UTC (permalink / raw) To: help-gnu-emacs On Sunday 12 July 2015 12:38 AM, Vaidheeswaran C wrote: > $ emacsclient --alternate-editor="" file.txt The below variation seems like a good improvement. emacsclient --alternate-editor="" -cF "((top . 0) (left . 0) (width . 99) (height . 28))" For plugging in the frame parameters, I used M-: (current-frame-configuration) and hand picked the few that you see. For some reasons, including (fullscreen . maximized) in the frame parameter has no intended effect on the editor window. It is not clear to me whether it is a limitation or a bug. ---------------------------------------------------------------- The External Editor plugin (Thunderbird) now uses the above commandline. In addition, my .emacs has the following line. (push '("\\.eml\\'" . message-mode) auto-mode-alist) ^ permalink raw reply [flat|nested] 21+ messages in thread
[parent not found: <mailman.6736.1436641200.904.help-gnu-emacs@gnu.org>]
* Re: emacsclient not integrated into modern window systems [not found] ` <mailman.6736.1436641200.904.help-gnu-emacs@gnu.org> @ 2015-07-12 2:57 ` Rusi 2015-07-12 4:28 ` Vaidheeswaran C ` (2 more replies) 0 siblings, 3 replies; 21+ messages in thread From: Rusi @ 2015-07-12 2:57 UTC (permalink / raw) To: help-gnu-emacs On Sunday, July 12, 2015 at 12:30:02 AM UTC+5:30, Vaidheeswaran C wrote: > There is __already__ an emacs.desktop file in emacs repo. If ... ... Hi Vaidheeswaran You are giving some useful data and making some interesting points. However what it all adds up to is not clear to me: Should a bug-report be filed? With debian/ubuntu/emacs? Just to be clear I understand next to nothing about XDG, desktop files etc. Also I am fine filing bug-reports that are welcome Not so fine when not so welcome; see http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18431 which is why I asked this here in the first place ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-12 2:57 ` Rusi @ 2015-07-12 4:28 ` Vaidheeswaran C [not found] ` <mailman.6761.1436675333.904.help-gnu-emacs@gnu.org> 2015-07-12 14:37 ` Eli Zaretskii 2 siblings, 0 replies; 21+ messages in thread From: Vaidheeswaran C @ 2015-07-12 4:28 UTC (permalink / raw) To: Rusi, help-gnu-emacs On Sunday 12 July 2015 08:27 AM, Rusi wrote: > On Sunday, July 12, 2015 at 12:30:02 AM UTC+5:30, Vaidheeswaran C wrote: > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18431 From http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18431#8 > Error (warning) message as follows is given: > > emacsclient: can't find socket; have you started the server? > To start the server in Emacs, type "M-x server-start". > > After printing which, it starts ok, editing the file!! It it is letting you know that it tried to contact an existing Emacs instance but failed, and it shares the message text with the non --alternate-editor case. Yes, the message could be special-cased for --alternate-editor, but it doesn't seem like a big deal. LOL. Emacsclient talks like my wife. When it says one thing, it means totally different thing. My wife is just my wife and not a big deal to me, whatever she says to me. That is how I deal with her. IMNSHO, "not a big deal", is not an argument but an emotional appeal. If I were in your place, I would feel unwelcome and reluctant as well. Why is it hard for you to say "No big deal!" and move on. "No big deal!" is panacea for all the ailments. "(All this is) No big deal" -- That is what Upanishads say anyway, don't you agree? ^ permalink raw reply [flat|nested] 21+ messages in thread
[parent not found: <mailman.6761.1436675333.904.help-gnu-emacs@gnu.org>]
* Re: emacsclient not integrated into modern window systems [not found] ` <mailman.6761.1436675333.904.help-gnu-emacs@gnu.org> @ 2015-07-12 5:06 ` Rusi 2015-07-12 6:02 ` Vaidheeswaran C 0 siblings, 1 reply; 21+ messages in thread From: Rusi @ 2015-07-12 5:06 UTC (permalink / raw) To: help-gnu-emacs On Sunday, July 12, 2015 at 9:58:56 AM UTC+5:30, Vaidheeswaran C wrote: > On Sunday 12 July 2015 08:27 AM, Rusi wrote: > > On Sunday, July 12, 2015 at 12:30:02 AM UTC+5:30, Vaidheeswaran C wrote: > > > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18431 > > From http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18431#8 > > > Error (warning) message as follows is given: > > > > emacsclient: can't find socket; have you started the server? > > To start the server in Emacs, type "M-x server-start". > > > > After printing which, it starts ok, editing the file!! > > It it is letting you know that it tried to contact an existing > Emacs instance but failed, and it shares the message text with the > non --alternate-editor case. Yes, the message could be > special-cased for --alternate-editor, but it doesn't seem like a > big deal. > > LOL. > > Emacsclient talks like my wife. When it says one thing, it means > totally different thing. My wife is just my wife and not a big deal > to me, whatever she says to me. That is how I deal with her. > > IMNSHO, "not a big deal", is not an argument but an emotional appeal. > If I were in your place, I would feel unwelcome and reluctant as well. > > Why is it hard for you to say "No big deal!" and move on. "No big > deal!" is panacea for all the ailments. > > "(All this is) No big deal" -- That is what Upanishads say anyway, > don't you agree? :-) Well really... This is not a big deal If the devs who handle 10,000 more big deals want to relegate this to a wishlist its really quite ok. However what this obscures is the clash between emacs-philosophy and 'more-modern' system philosophies. The classic emacs way of doing things is to live mostly inside emacs. The modern way is to have a concert of various apps working in cooperation. Unfortunately as soon as this is enunciated someone or other will pipe up: "The emacs way is BETTER or even THE ONLY WAY" which is (to me) just too tiresome an argument to get into. Just for context, the kids I deal with are 20 year olds who know nothing about anything other than the modern way. They (and I) have no problem if there is a reasonable path from the modern way to the more classic way.. And to me finding a desktop file somewhere on the net, almost none of which I understand, and setting it up somewhere may be a necessary evil, thanks to it falling between stools of emacs-devs and distro-packagers jurisdictions. To a contemporary kid however its just one more data point that emacs is not really usable. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-12 5:06 ` Rusi @ 2015-07-12 6:02 ` Vaidheeswaran C 0 siblings, 0 replies; 21+ messages in thread From: Vaidheeswaran C @ 2015-07-12 6:02 UTC (permalink / raw) To: Rusi, help-gnu-emacs On Sunday 12 July 2015 10:36 AM, Rusi wrote: > the kids I deal with are 20 year olds A small suggestion... Point them to this list and encourage them to post their issues directly to help-gnu-emacs@gnu.org. "Help GNU Emacs" is tolerant. Here everything -- you and your issues -- are a big deal atleast to someone else. This other person is also grappling with just the same isssue as you do. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-12 2:57 ` Rusi 2015-07-12 4:28 ` Vaidheeswaran C [not found] ` <mailman.6761.1436675333.904.help-gnu-emacs@gnu.org> @ 2015-07-12 14:37 ` Eli Zaretskii 2015-07-12 15:08 ` Stefan Monnier ` (3 more replies) 2 siblings, 4 replies; 21+ messages in thread From: Eli Zaretskii @ 2015-07-12 14:37 UTC (permalink / raw) To: help-gnu-emacs > Date: Sat, 11 Jul 2015 19:57:13 -0700 (PDT) > From: Rusi <rustompmody@gmail.com> > > On Sunday, July 12, 2015 at 12:30:02 AM UTC+5:30, Vaidheeswaran C wrote: > > > There is __already__ an emacs.desktop file in emacs repo. If > ... > ... > > Hi Vaidheeswaran > > You are giving some useful data and making some interesting points. > However what it all adds up to is not clear to me: Should a bug-report be filed? > With debian/ubuntu/emacs? IMO, with those who packaged your system. > Just to be clear I understand next to nothing about XDG, desktop files etc. > Also I am fine filing bug-reports that are welcome > Not so fine when not so welcome; see > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18431 Not sure why you say that bug report was "not so welcome". There's nothing there except polite explanation of the issue. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-12 14:37 ` Eli Zaretskii @ 2015-07-12 15:08 ` Stefan Monnier 2015-07-12 15:28 ` Vaidheeswaran C ` (2 subsequent siblings) 3 siblings, 0 replies; 21+ messages in thread From: Stefan Monnier @ 2015-07-12 15:08 UTC (permalink / raw) To: help-gnu-emacs > IMO, with those who packaged your system. We could/should also bundle a sample emacsclient.desktop file, since it seems to be a standardish format nowadays. Stefan ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-12 14:37 ` Eli Zaretskii 2015-07-12 15:08 ` Stefan Monnier @ 2015-07-12 15:28 ` Vaidheeswaran C 2015-07-12 16:25 ` Eli Zaretskii [not found] ` <mailman.6782.1436714885.904.help-gnu-emacs@gnu.org> [not found] ` <mailman.6780.1436713709.904.help-gnu-emacs@gnu.org> 3 siblings, 1 reply; 21+ messages in thread From: Vaidheeswaran C @ 2015-07-12 15:28 UTC (permalink / raw) To: help-gnu-emacs On Sunday 12 July 2015 08:07 PM, Eli Zaretskii wrote: > There's nothing there except polite explanation of the issue. "Not a big deal" is a colloquial expression. The text books that we learn English from doesn't teach us what this expression means. When this is the case, we need to rely on our subjective judgement to decide what particular turn of phrase means. It is also a common experience that a phrase that is polite in a conversation is deemed otherwise in other cultures. When talking across cultures, it is generally considered a good practice to err on the conservative side. It wouldn't have been a big deal if the bug was just labelled as Minor. ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-12 15:28 ` Vaidheeswaran C @ 2015-07-12 16:25 ` Eli Zaretskii 0 siblings, 0 replies; 21+ messages in thread From: Eli Zaretskii @ 2015-07-12 16:25 UTC (permalink / raw) To: help-gnu-emacs > From: Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com> > Date: Sun, 12 Jul 2015 20:58:00 +0530 > > It wouldn't have been a big deal if the bug was just labelled as > Minor. Likewise with wishlist. It just means there's no bug, just an enhancement request. There's nothing derogatory about that. ^ permalink raw reply [flat|nested] 21+ messages in thread
[parent not found: <mailman.6782.1436714885.904.help-gnu-emacs@gnu.org>]
* Re: emacsclient not integrated into modern window systems [not found] ` <mailman.6782.1436714885.904.help-gnu-emacs@gnu.org> @ 2015-07-12 16:21 ` Rusi 2015-07-12 16:29 ` Rusi 0 siblings, 1 reply; 21+ messages in thread From: Rusi @ 2015-07-12 16:21 UTC (permalink / raw) To: help-gnu-emacs On Sunday, July 12, 2015 at 8:58:07 PM UTC+5:30, Vaidheeswaran C wrote: > On Sunday 12 July 2015 08:07 PM, Eli Zaretskii wrote: > > > There's nothing there except polite explanation of the issue. > > "Not a big deal" is a colloquial expression. The text books that we > learn English from doesn't teach us what this expression means. When > this is the case, we need to rely on our subjective judgement to > decide what particular turn of phrase means. It is also a common > experience that a phrase that is polite in a conversation is deemed > otherwise in other cultures. > > When talking across cultures, it is generally considered a good > practice to err on the conservative side. It wouldn't have been a big > deal if the bug was just labelled as Minor. Hey Vaidheeswaran! We need not personalize (and cuturalize and nationalize and...) this. Clearly the *bug* was not welcome in the sense that it is accepted as a bug but not having sufficient importance to correct it. That does not spill over to the *persons* involved Analogy: Many large projects have code norms. And large enough (and old enough) projects violate these norms left-right-n-center. And then some OCD guy will come up and want to correct all the indentation or misnamings or what-have-you. So then the others have to tell this super well-meaning but misguided person: "Thanks but kindly lay off!" More real example: Trying to hack inside the python sources I found a bunch of CRLF issues. [Yeah this is something I am OCD about -- Ive seen 1000s of lines changed because someone used another editor] Asking around on the mailing lists, people suggested a bug report. So I filed https://bugs.python.org/issue24507 Then someone suggested making a whole dependency-tree of CRLF bugs. Now even for an CRLF-OCD this seemed a bit excessive, but I complied... With https://bugs.python.org/issue24513 which was forthwith closed [last I knew there is a pdf file checked in as text!] And in that analogy as here the real issue gets forgotten: things like desktop files and the emacsclient paradigm generally are neglected by falling in a no-mans-land between distro packager and upstream devs ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems 2015-07-12 16:21 ` Rusi @ 2015-07-12 16:29 ` Rusi 0 siblings, 0 replies; 21+ messages in thread From: Rusi @ 2015-07-12 16:29 UTC (permalink / raw) To: help-gnu-emacs On Sunday, July 12, 2015 at 9:51:41 PM UTC+5:30, Rusi wrote: > On Sunday, July 12, 2015 at 8:58:07 PM UTC+5:30, Vaidheeswaran C wrote: > > On Sunday 12 July 2015 08:07 PM, Eli Zaretskii wrote: > > > > > There's nothing there except polite explanation of the issue. > > > > "Not a big deal" is a colloquial expression. The text books that we > > learn English from doesn't teach us what this expression means. When > > this is the case, we need to rely on our subjective judgement to > > decide what particular turn of phrase means. It is also a common > > experience that a phrase that is polite in a conversation is deemed > > otherwise in other cultures. > > > > When talking across cultures, it is generally considered a good > > practice to err on the conservative side. It wouldn't have been a big > > deal if the bug was just labelled as Minor. > > Hey Vaidheeswaran! > We need not personalize (and cuturalize and nationalize and...) this. > Clearly the *bug* was not welcome in the sense that it is accepted as a bug > but not having sufficient importance to correct it. That does not spill over > to the *persons* involved > > Analogy: Many large projects have code norms. And large enough (and old enough) projects violate these norms left-right-n-center. > And then some OCD guy will come up and want to correct all the indentation or > misnamings or what-have-you. > So then the others have to tell this super well-meaning but misguided person: > "Thanks but kindly lay off!" > > More real example: > Trying to hack inside the python sources I found a bunch of CRLF issues. > [Yeah this is something I am OCD about -- Ive seen 1000s of lines changed because someone used another editor] > > Asking around on the mailing lists, people suggested a bug report. > So I filed https://bugs.python.org/issue24507 > Then someone suggested making a whole dependency-tree of CRLF bugs. > Now even for an CRLF-OCD this seemed a bit excessive, but I complied... > With https://bugs.python.org/issue24513 > which was forthwith closed Correction: I see now it is marked as 'later' (not closed/wont-fix etc) ^ permalink raw reply [flat|nested] 21+ messages in thread
[parent not found: <mailman.6780.1436713709.904.help-gnu-emacs@gnu.org>]
* Re: emacsclient not integrated into modern window systems [not found] ` <mailman.6780.1436713709.904.help-gnu-emacs@gnu.org> @ 2015-07-12 16:32 ` Rusi 2015-07-13 4:59 ` Dan Espen 1 sibling, 0 replies; 21+ messages in thread From: Rusi @ 2015-07-12 16:32 UTC (permalink / raw) To: help-gnu-emacs On Sunday, July 12, 2015 at 8:38:31 PM UTC+5:30, Stefan Monnier wrote: > > IMO, with those who packaged your system. > > We could/should also bundle a sample emacsclient.desktop file, since it > seems to be a standardish format nowadays. > Thanks for that Stefan! If it is easy, I'd also like a different icon for emacsclient ^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: emacsclient not integrated into modern window systems [not found] ` <mailman.6780.1436713709.904.help-gnu-emacs@gnu.org> 2015-07-12 16:32 ` Rusi @ 2015-07-13 4:59 ` Dan Espen 1 sibling, 0 replies; 21+ messages in thread From: Dan Espen @ 2015-07-13 4:59 UTC (permalink / raw) To: help-gnu-emacs Stefan Monnier <monnier@iro.umontreal.ca> writes: >> IMO, with those who packaged your system. > > We could/should also bundle a sample emacsclient.desktop file, since it > seems to be a standardish format nowadays. I don't see why the .desktop file is important. If you want to use emacsclient, I think you need Emacs running as a daemon. In my Fedora installation I find: /usr/lib/systemd/user/emacs.service If things work as they should, enable the service with systemctl and you _should_ find emacs offered as an editor choice. -- Dan Espen ^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2015-07-13 4:59 UTC | newest] Thread overview: 21+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2015-07-11 3:24 emacsclient not integrated into modern window systems Rusi 2015-07-11 10:54 ` Rasmus [not found] ` <mailman.6717.1436612090.904.help-gnu-emacs@gnu.org> 2015-07-11 11:12 ` Rusi 2015-07-11 16:34 ` Raffaele Ricciardi 2015-07-11 12:20 ` Vaidheeswaran C [not found] ` <mailman.6720.1436617209.904.help-gnu-emacs@gnu.org> 2015-07-11 12:24 ` Rusi 2015-07-11 18:59 ` Vaidheeswaran C 2015-07-11 19:08 ` Vaidheeswaran C 2015-07-12 8:54 ` Vaidheeswaran C [not found] ` <mailman.6736.1436641200.904.help-gnu-emacs@gnu.org> 2015-07-12 2:57 ` Rusi 2015-07-12 4:28 ` Vaidheeswaran C [not found] ` <mailman.6761.1436675333.904.help-gnu-emacs@gnu.org> 2015-07-12 5:06 ` Rusi 2015-07-12 6:02 ` Vaidheeswaran C 2015-07-12 14:37 ` Eli Zaretskii 2015-07-12 15:08 ` Stefan Monnier 2015-07-12 15:28 ` Vaidheeswaran C 2015-07-12 16:25 ` Eli Zaretskii [not found] ` <mailman.6782.1436714885.904.help-gnu-emacs@gnu.org> 2015-07-12 16:21 ` Rusi 2015-07-12 16:29 ` Rusi [not found] ` <mailman.6780.1436713709.904.help-gnu-emacs@gnu.org> 2015-07-12 16:32 ` Rusi 2015-07-13 4:59 ` Dan Espen
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/emacs.git https://git.savannah.gnu.org/cgit/emacs/org-mode.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.