* Copying .emacs.d @ 2016-05-25 5:23 Rusi 2016-05-26 7:40 ` Emanuel Berg ` (4 more replies) 0 siblings, 5 replies; 8+ messages in thread From: Rusi @ 2016-05-25 5:23 UTC (permalink / raw) To: help-gnu-emacs Is it ok to copy over .emacs.d from one machine to another (assume similar OS)? I am specifically thinking of packages and elpa directory -- is there some kind of fingerprinting or is it legitimate? Context: I'd like to setup one minimal box for my students and then they can copy over .emacs.d from there to their laptops ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Copying .emacs.d 2016-05-25 5:23 Copying .emacs.d Rusi @ 2016-05-26 7:40 ` Emanuel Berg 2016-05-26 13:02 ` Rusi 2016-06-03 1:08 ` Eric Brown ` (3 subsequent siblings) 4 siblings, 1 reply; 8+ messages in thread From: Emanuel Berg @ 2016-05-26 7:40 UTC (permalink / raw) To: help-gnu-emacs Rusi <rustompmody@gmail.com> writes: > Is it ok to copy over .emacs.d from one > machine to another (assume similar OS)? > > I am specifically thinking of packages and > elpa directory -- is there some kind of > fingerprinting or is it legitimate? > > Context: I'd like to setup one minimal box > for my students and then they can copy over > .emacs.d from there to their laptops There are several things to consider. With respect to technology: 1) If the packages save data in .emacs.d there is no saying how specific that data is. 2) The software is compiled - someone else can answer, if the Emacs byte compiler take external factors into account or if it is boxed to an Emacs version. 3) The state (metadata) of local package manager will at best refer to events that took place on another computer. But more importantly: If this has to do with students, wouldn't it be a good thing for them to learn how to install a program from the Emacs software archives? Because it is very easy, and useful, not just for your specific task but for future Emacs use! -- underground experts united .... http://user.it.uu.se/~embe8573 Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic - so far: 40 Blogomatic articles - ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Copying .emacs.d 2016-05-26 7:40 ` Emanuel Berg @ 2016-05-26 13:02 ` Rusi 0 siblings, 0 replies; 8+ messages in thread From: Rusi @ 2016-05-26 13:02 UTC (permalink / raw) To: help-gnu-emacs On Thursday, May 26, 2016 at 1:10:24 PM UTC+5:30, Emanuel Berg wrote: > Rusi writes: > > > Is it ok to copy over .emacs.d from one > > machine to another (assume similar OS)? > > > > I am specifically thinking of packages and > > elpa directory -- is there some kind of > > fingerprinting or is it legitimate? > > > > Context: I'd like to setup one minimal box > > for my students and then they can copy over > > .emacs.d from there to their laptops > > There are several things to consider. > > With respect to technology: > > 1) If the packages save data in .emacs.d > there is no saying how specific that > data is. > > 2) The software is compiled - someone else > can answer, if the Emacs byte compiler > take external factors into account or if > it is boxed to an Emacs version. > > 3) The state (metadata) of local package > manager will at best refer to events > that took place on another computer. [For anyone else who finds this thread...] I subsequently found http://emacs.stackexchange.com/questions/10577/export-emacs-installed-packages which suggests (byte-recompile-directory "~/.emacs.d/elpa" 0 t) ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Copying .emacs.d 2016-05-25 5:23 Copying .emacs.d Rusi 2016-05-26 7:40 ` Emanuel Berg @ 2016-06-03 1:08 ` Eric Brown [not found] ` <mailman.741.1464916120.1216.help-gnu-emacs@gnu.org> ` (2 subsequent siblings) 4 siblings, 0 replies; 8+ messages in thread From: Eric Brown @ 2016-06-03 1:08 UTC (permalink / raw) To: Rusi; +Cc: help-gnu-emacs Rusi <rustompmody@gmail.com> writes: > Is it ok to copy over .emacs.d from one machine to another > (assume similar OS)? > > I am specifically thinking of packages and elpa directory -- is > there some kind > of fingerprinting or is it legitimate? > > Context: I'd like to setup one minimal box for my students and > then > they can copy over .emacs.d from there to their laptops An example of a package that might not transfer is pdf-tools, as it has a compiled binary. ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <mailman.741.1464916120.1216.help-gnu-emacs@gnu.org>]
* Re: Copying .emacs.d [not found] ` <mailman.741.1464916120.1216.help-gnu-emacs@gnu.org> @ 2016-06-03 1:20 ` Emanuel Berg 0 siblings, 0 replies; 8+ messages in thread From: Emanuel Berg @ 2016-06-03 1:20 UTC (permalink / raw) To: help-gnu-emacs Eric Brown <brown@fastmail.com> writes: >> Is it ok to copy over .emacs.d from one >> machine to another (assume similar OS)? I am >> specifically thinking of packages and elpa >> directory -- is there some kind of >> fingerprinting or is it legitimate? Context: >> I'd like to setup one minimal box for my >> students and then they can copy over >> .emacs.d from there to their laptops > > An example of a package that might not > transfer is pdf-tools, as it has > a compiled binary. This sounds almost as the beginning of not Emacs forks, but distributions! Just think about it - people can use the exact same software, only add a couple of packages on top, rebrand the whole thing, and then there can be forks/redistributions of that distribution, and so on, and it can all be hailed as software multitude and proliferation! Now, if computer science students can't be trusted to install a bunch of packages from ELPA, we should all give up, and put the Russian ten thousand ton atomic submarines to nuke the entire good-for-nothing university world from the face of the earth. Only perhaps we should keep LaTeX... -- underground experts united .... http://user.it.uu.se/~embe8573 Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic - so far: 42 Blogomatic articles - ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Copying .emacs.d 2016-05-25 5:23 Copying .emacs.d Rusi ` (2 preceding siblings ...) [not found] ` <mailman.741.1464916120.1216.help-gnu-emacs@gnu.org> @ 2016-06-03 3:00 ` Stefan Monnier [not found] ` <mailman.746.1464922872.1216.help-gnu-emacs@gnu.org> 4 siblings, 0 replies; 8+ messages in thread From: Stefan Monnier @ 2016-06-03 3:00 UTC (permalink / raw) To: help-gnu-emacs > Is it ok to copy over .emacs.d from one machine to another (assume similar OS)? Yes, Stefan ^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <mailman.746.1464922872.1216.help-gnu-emacs@gnu.org>]
* Re: Copying .emacs.d [not found] ` <mailman.746.1464922872.1216.help-gnu-emacs@gnu.org> @ 2016-06-03 5:22 ` Emanuel Berg 2016-06-03 16:54 ` Emacs at schools (was: Re: Copying .emacs.d) Emanuel Berg 1 sibling, 0 replies; 8+ messages in thread From: Emanuel Berg @ 2016-06-03 5:22 UTC (permalink / raw) To: help-gnu-emacs Stefan Monnier <monnier@iro.umontreal.ca> writes: >> Is it ok to copy over .emacs.d from one >> machine to another (assume similar OS)? > > Yes Is it also within the ordo and omega of reason that CS students get supposedly sandboxed Emacs handed out as they aren't entrusted to use ELPA and the package manager themselves, all of which you probably wrote, and by the way is super easy to use? This is the stupidest thing I ever heard. The OP would be better off going to Crooks"RUs, buy a bag of transistors, and throw it at his students, and have them work something sensible out of that. The can install Emacs in their spare time. -- underground experts united .... http://user.it.uu.se/~embe8573 Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic - so far: 43 Blogomatic articles - ^ permalink raw reply [flat|nested] 8+ messages in thread
* Emacs at schools (was: Re: Copying .emacs.d) [not found] ` <mailman.746.1464922872.1216.help-gnu-emacs@gnu.org> 2016-06-03 5:22 ` Emanuel Berg @ 2016-06-03 16:54 ` Emanuel Berg 1 sibling, 0 replies; 8+ messages in thread From: Emanuel Berg @ 2016-06-03 16:54 UTC (permalink / raw) To: help-gnu-emacs Stefan Monnier <monnier@iro.umontreal.ca> writes: >> Is it ok to copy over .emacs.d from one >> machine to another (assume similar OS)? > > Yes Two more things on this. It is obviously a good thing that it is portable like this. If it wasn't, that would be bad. So it is good that it is movable in terms of technology, for sure. I have moved my zsh, Emacs, tmux, mplayer, etc. init (initialization), config, and extention files between several machines by now. At first, it was a heck of a job. Now, it goes much smoother. Total portability tho I haven't seen. There are always many small things that break. With Emacs most recently, when I moved from Debian to Raspbian, I had some problems with biber (biblatex) and Gnus TLS. The Gnus problem remains, but the biber was an upgrade away. I think both problems were related to the software on Debian was more upgraded. With actual Emacs, all the Elisp, I don't remember having any problems. The best way I found so far is to have a directory with all the stuff. With rsync(1) you put it somewhere. On the new machine, you get it, and then create symlinks where the programs look for their files. To put the actual files there is a lot of work. And then even more so to put them somewhere, with rsync, as you're likely to continue edit and refine them, on the new machine! It is too much diaspora. The second thing is: universities having Emacs on their systems and including it in their education. This also is very good. Before I attended thrice-accursed computer science school, I used nano(1). At that time, I didn't know an editor could be an interface to the entire system, programmable at that. But the first course at the university had a part where we were required to do basic stuff in Emacs. I don't remember this showing any of the programmable/all-interface stuff. Still, it was enough to convince me to start using it, and I have ever since (even writing this mail/post, otherwise mailing would be unbearable). So it is good .emacs.d is portable and it is good that universities expose students to Emacs. But I'm still right about the bag of transistors etc.! Now, ssh-ing to my school's SunOS 5.10, I see there is no Emacs binary anymore. Nor nano for that matter. There is only vi. What are we going to do about it? -- underground experts united .... http://user.it.uu.se/~embe8573 Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic - so far: 43 Blogomatic articles - ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-06-03 16:54 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2016-05-25 5:23 Copying .emacs.d Rusi 2016-05-26 7:40 ` Emanuel Berg 2016-05-26 13:02 ` Rusi 2016-06-03 1:08 ` Eric Brown [not found] ` <mailman.741.1464916120.1216.help-gnu-emacs@gnu.org> 2016-06-03 1:20 ` Emanuel Berg 2016-06-03 3:00 ` Stefan Monnier [not found] ` <mailman.746.1464922872.1216.help-gnu-emacs@gnu.org> 2016-06-03 5:22 ` Emanuel Berg 2016-06-03 16:54 ` Emacs at schools (was: Re: Copying .emacs.d) Emanuel Berg
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.