# ইম্যাকস্: প্রথম ধাপ

## ইম্যাকস্ চালু করা

ইম্যাকস্ সাধারণভাবে চালু করলে তা গ্র্যাফিকালি চালু হবে। কমান্ড লাইনে চালু করতে আপনাকে লিখতে হবে: `emacs -nw`।

## ইন্টারফেস পরিচিতি

চালু করার পর আপনি এমনকিছু দেখতে পাবেন:

```
File Edit Options Buffers Tools Help                                           
Welcome to GNU Emacs, one component of the GNU/Linux operating system.

Get help           C-h  (Hold down CTRL and press h)
Emacs manual       C-h r        Browse manuals     C-h i
Emacs tutorial     C-h t        Undo changes       C-x u
Buy manuals        C-h RET      Exit Emacs         C-x C-c
Activate menubar   M-`
(\`C-' means use the CTRL key.  \`M-' means use the Meta (or Alt) key.
If you have no Meta key, you may instead type ESC followed by the character.)
Useful tasks:
Visit New File                  Open Home Directory
Customize Startup               Open \*scratch\* buffer

GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7)
 of 2014-03-07 on lamiak, modified by Debian
Copyright (C) 2013 Free Software Foundation, Inc.
-UUU:%%--F1  \*GNU Emacs\*    Top (1,0)      (Fundamental) ----------------------
For information about GNU Emacs and the GNU system, type C-h C-a.
```

প্রথম লাইনে সাদা ব্যাকগ্রাউন্ডের ওপর কালো অক্ষরে লেখা থাকবে:

```
File Edit Options Buffers Tools Help
```

এটা হচ্ছে মেন্যুবার। আপনি **F10** চেপে মেন্যু ব্যবহার করতে পারেন। তারপর এই অংশটুকু আপনার এডিটর উইন্ডো:

```
Welcome to GNU Emacs, one component of the GNU/Linux operating system.

Get help           C-h  (Hold down CTRL and press h)
Emacs manual       C-h r        Browse manuals     C-h i
Emacs tutorial     C-h t        Undo changes       C-x u
Buy manuals        C-h RET      Exit Emacs         C-x C-c
Activate menubar   M-`
(\`C-' means use the CTRL key.  \`M-' means use the Meta (or Alt) key.
If you have no Meta key, you may instead type ESC followed by the character.)
Useful tasks:
Visit New File                  Open Home Directory
Customize Startup               Open \*scratch\* buffer

GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7)
 of 2014-03-07 on lamiak, modified by Debian
Copyright (C) 2013 Free Software Foundation, Inc.
```

কোনো ফাইল না খুললে শুধু ইম্যাকস্ চালু করলে শুরুতে এই ইন্ট্রোডাকশন স্ক্রীন দেখাবে। এখানে কিছু গুরুত্বপূর্ণ শর্টকার্ট দেওয়া আছে। হয়ত আপনি ইতমধ্যে লক্ষ্য করেছেন `C-` মানে CTRL এবং `M-` মানে Meta বা Alt। একইভাবে RET হল Return বা Enter।

তারপরেই আপনি পাবেন মোড লাইন (Mode line):

```
-UUU:%%--F1  \*GNU Emacs\*    Top (1,0)      (Fundamental) ----------------------
```

এর অংশগুলোর সংক্ষিপ্ত অর্থ এরকম:

* **-UUU:%%--F1**: ক্যারেক্টার এনকোডিং, লাইনব্রেক মেথড ইত্যাদি সম্পর্কিত তথ্য।
* **\*GNU Emacs\***: বাফারের নাম।
* **Top (1,0)**: কার্সরের অবস্থান। এখানে বলছে কার্সর ডকুমেন্টের উপরের দিকে আছে (Top)। তারপরেই লেখা আছে (1,0)। এই সংখ্যাদ্বয়ের প্রথমটি অর্থাৎ 1 লাইন নম্বর এবং দ্বিতীয়টি অর্থাৎ 0 দ্বারা কলাম নম্বর বোঝানো হয়েছে।
* **(Fundamental)**: এখানে ডকুমেন্টের মোড বলা হয়েছে। ইম্যাকস্ অসংখ্য ডকুমেন্ট মোড আছে। যা ফাইলের এক্সটেনশন অনুযায়ী বা ইউজারের ইচ্ছায় কার্যকর হয় এবং বিশেষ বিশেষ সুবিধা দেয়। যেমন পাইথন মোডে অটোমেটিক কোড ইনডেন্টেড হবে। চার স্পেস পরিমাণ ট্যাব দিয়ে আবার রুবি মোডে সেটি হবে দুই স্পেস।

সর্বশেষ লাইনটি হল ইকো এরিয়া:

```
For information about GNU Emacs and the GNU system, type C-h C-a.
```

এখানে প্রয়োজন মত আপনাকে বিভিন্ন জিনিস জানানো হবে। তাছাড়া `M-x` চাপলে এখানে কমান্ড নিতে মিনিবাফার চালু হবে।

## ইম্যাকস্ বন্ধ করা

ইম্যাকস্ বন্ধ করতে `C-x C-c` অর্থাৎ প্রথমে `C-x` চাপুন তারপর `C-c`।


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sh.howtocode.dev/3.0.0.part3intro/3.2.0.0.texteditors/3.2.3.0.emacs/3.2.3.1.emacs-first-step.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
