It's set up on a computer Emacs Many custom packages and parameters , Want to easily migrate settings to another target computer , It's actually very simple .

In general , each package be located ~/.emacs.d/ In the folder , All we need to do is copy this folder .

If unfortunately , On the target computer Emacs The priority call is set ~/.emacs The configuration file , that , Please move the configuration file to a temporary directory first ( such as ~/tmp/.emacs) The staging , Delete it after setting .

Use the command to call ~/.emacs.d/ The way to configure a folder is as follows :

(1) Open at terminal Emacs:

emacs --q

(2) stay Emacs Enter command in  M-x load-file , Follow the prompts to enter the full pathname of the configuration file : /home/She/.emacs.d/init.el , enter .

So the whole .emacs.d The package in the folder , All the relevant settings have been migrated .

transfer Emacs More articles about custom settings for

  1. C#: Realize shortcut key custom settings ( turn )

    Project development process , Need to achieve a similar dictionary software settings in the user-defined shortcut function , As shown in the figure below : When we press one after another Ctrl+Alt+M When , The software will automatically display the shortcut key in the text box . The final effect is shown in the figure below : private ...

  2. C#: Realize shortcut key custom settings

    The code download C# Realize shortcut key custom settings demand Project development process , Need to achieve a similar dictionary software settings in the user-defined shortcut function , As shown in the figure below : When we press one after another Ctrl+Alt+M When , The software will automatically display the shortcut key in the text box ...

  3. Netsharp Product identity custom settings : The product name 、 Copyright 、LOGO etc.

    Please read this article first Netsharp Download and build environment Netsharp It is a basic business platform ,Netsharp Business products developed on their own basis are valuable to customers , The product the customer sees should not be Netsharp It's about specific business products ...

  4. navigaitonBar Custom settings for

    navigaitonBar Custom settings for navigationBar Introduce : navigationbar It's a navigation bar on the Navigation view controller . How to set this navigationbar? First, let's talk about how to ...

  5. PHP Integrated environment custom settings PHP edition , Running multiple simultaneously php edition ,700 individual PHP Version changes at any time , Open common modules with one click .

    This paper adopts the pure green version developed by myself WAMP Environmental Science ( I will be the WAMP The environment is named PHPWAMP) (PHPWAMP Default Integration VC, No need to install separately ) So what is WAMP Environmental Science ?WAMP What does the word mean ? Windows ...

  6. Html in <Hr> label 、 The use of styles and custom settings

    <Hr> The use of styles and custom settings in tags ... -------------------- ====================== It's been tested for use Hr style : <!-- This is part of ...

  7. xpadder course : Customize the picture of the game handle

    About xpadder How to set the buttons , There are already many on the Internet , I won't join in the fun . Here is how to customize the picture of the handle , This is the background image of the button , As shown in the figure below : step : 1) Prepare a background image Be careful : The format must be 24 Position color BMP position ...

  8. Android Solve the problem that the mobile phone can't find the hotspot after opening the hotspot through custom settings .

    In the process of development, there is a problem that the mobile phone can't find the hotspot after opening the hotspot through custom settings . Later by watching   /data/misc/wifi  In the catalog   hostapd.conf  file , Found to be interface=ap0 d ...

  9. Asp.Net Custom Settings Http Cache example ( One )

    One . Custom image output , Enable the client's image cache processing Code example : string path = Request.Url.LocalPath; if (path != null) { path = path.To ...

Random recommendation

  1. Find the maximum value of the interval - RMQ - ST Algorithm is introduced

    analysis ST The algorithm is RMQ(Range Minimum/Maximum Query) A very classic algorithm in , It is naturally used to find the maximum value of an interval , But it can't maintain the maximum value , in other words , You can't change the value of an element in an interval in a process .O ...

  2. How to manually add Sublime 3 Right-click menu

    [Version] Signature="$Windows NT$" [DefaultInstall] AddReg=SublimeText3 [SublimeText3] hkc ...

  3. mysql_4( Solve the problem of Chinese garbled code )

    mysql> create database if not exists xdb default character set utf8;Query OK, 1 row affected (0.0 ...

  4. java Compile error :varargs The method is not varargs call

    from :http://www.blogjava.net/ideame/archive/2007/03/23/105849.html Warning : The last parameter uses an inaccurate variable type varargs The method is not ...

  5. 5. Fragment Detailed explanation

    onCreateView yes Fragment One of the most important life cycle approaches . Because it's time to Method will be created in Fragment Shown in View. public View onCreateView(LayoutInfl ...

  6. [Locked] Maximum Size Subarray Sum Equals k

    Example 1: Given nums = [1, -1, 5, -2, 3], k = 3,return 4. (because the subarray [1, -1, 5, -2] sums ...

  7. Linux next patch Patch command

    This command is used to patch specific packages , He USES diff Command to operate on the source file . Basic command syntax : patch [-R] {-p(n)} [--dry-run] < patch_file_name p: by pat ...

  8. MySQL How to effectively store IP Address and string IP And how to convert between values

    mysql> select inet_aton('192.168.0.1'); +--------------------------+ | inet_aton('192.168.0.1') | ...

  9. CSS3 The second day of notes

    1.CSS The box model Specify the width and height of the element width,height 2.CSS Frame border-style:solid; border-width:5px; border-top-width:15px; ...

  10. SPOJ - DISUBSTR How many different substrings

    694. Distinct Substrings Problem code: DISUBSTR   Given a string, we need to find the total number o ...