emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Renato Pontefice <renato.pontefice@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Init.el
Date: Sat, 29 Oct 2022 21:08:08 +0200	[thread overview]
Message-ID: <6F183974-C1CB-41D0-919C-C8A6836A29AE@gmail.com> (raw)
In-Reply-To: <Y11nDztvCnbRsYKp@tuxteam.de>

[-- Attachment #1: Type: text/plain, Size: 4003 bytes --]

I’m sorry, but I’m in a big big confusion…I regreat but I’m unable to correct the prob the is originated to my init.el and the conclusion is that I cannot use emac.
I ask if you can correct my init.el (that I post)
;; -ss*- mode: elisp -*-


;;--setta il formato della data diversamente ------
;;(setq-default org-display-custom-times t)
(setq org-time-stamp-custom-formats '("<%a %d %m %Y>" . "<%a %d %m %Y %H:%M>"))

;;----- comandi per gestire la grandezza della finestraprincipale di emacs -----
(setq initial-frame-alist
       (append '((width . 200) (height . 400) (top 45) (left 45) ())
               initial-frame-alist))

;;-----------------------(add-to-list 'default-frame-alist '(height . 24))
(add-to-list 'default-frame-alist '(width . 80)) 

;;------------ fà partire in AGENDA la settimana dal giorno 1---
(setq calendar-week-start-day 1)

;;---settaggi carattere e dimensione di default del carattere--
(set-face-attribute 'default nil :font "Andale Mono" :height 160 )

;; Disable the splash screen (to enable it agin, replace the t with 0)
(setq inhibit-splash-screen t)

;; Enable transient mark mode
(transient-mark-mode 1)

;;;;;;Org mode configuration
Enable Org mode
(require 'org)

;; Make Org mode work with files ending in .org
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
The above is the default in recent emacsen
(require 'org)
(setq org-log-done t)

;; set maximum indentation for description lists
(setq org-list-description-max-indent 5)

;; prevent demoting heading also shifting text inside sections
(setq org-adapt-indentation nil)

;;-------- determina le sequenze di stato al TODO
(setq org-todo-keywords
     '((sequence "TODO" "IN-PROGRESS" "WAITING" "DONE")))

;;-------------------------- file utilizzati  per TODO list in Agenda
(setq org-agenda-files '( "~/org/agenda/"   
;;      "~/org/agenda/amorc.org <http://amorc.org/>"
;;      "~/org/agenda/amorc.org <http://amorc.org/>"
;;                             "~/org/agenda/renato.org <http://renato.org/>"
     ))
;; mappa alcuni tasti per ottenere le parentesi graffe e quadre
(global-set-key "\M-(" (lambda () (interactive) (insert "{")))
(global-set-key "\M-)" (lambda () (interactive) (insert "}")))
(global-set-key "\M-7" (lambda () (interactive) (insert "#")))
(global-set-key "\M-8" (lambda () (interactive) (insert "[")))
(global-set-key "\M-9" (lambda () (interactive) (insert "]")))

(global-set-key "\M-9" (lambda () (interactive) (insert "]")))

;;---Aggiunge il TIMESTAMP quando chiudo uno statemet TODO
(setq org-log-done 'time)

;;----fa aggiungere una nota di testo quando si chiude un TODO
(setq org-log-done 'note)

;;--setta dei tasti comodi da utilizzare in emacs
(global-set-key (kbd "C-c l") #'org-store-link)
(global-set-key (kbd "C-c a") #'org-agenda)
(global-set-key (kbd "C-c c") #'org-capture)

;;--- azioni applicate ai TODO
(setq org-todo-keywords
     '((sequence "TODO" "FEEDBACK" "VERIFY" "|" "DONE" "DELEGATED")))
(custom-set-variables
 ;;custom-set-variables was added by Custom.
 ;;If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
;; '(package-selected-packages '(org-contacts frame-tabs ebdb)))
::(custom-set-faces
;;  custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
;;)
;;-----apre emacs-org mode in modalità Agenda
(org-agenda-list)
(delete-other-windows)

In a way that I can reuse org mode again
I really don’t find what’s goes bad (I don’t know lisp)

Really thank you


Renato

> Il giorno 29 ott 2022, alle ore 19:46, <tomas@tuxteam.de> <tomas@tuxteam.de> ha scritto:
> 
> ;;;;;;Org mode configuration
> ;; Enable Org mode
> (require ‘org)


[-- Attachment #2: Type: text/html, Size: 30311 bytes --]

  parent reply	other threads:[~2022-10-29 19:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-29 16:29 Position 972 Renato Pontefice
2022-10-29 17:46 ` tomas
2022-10-29 18:04   ` Renato Pontefice
2022-10-29 18:29     ` Juan Manuel Macías
2022-10-29 18:42       ` tomas
2022-10-29 19:08   ` Renato Pontefice [this message]
2022-10-29 19:36     ` Init.el tomas
2022-10-29 22:16     ` Init.el Eduardo Ochs
2022-10-29 18:16 ` Position 972 Juan Manuel Macías
2022-10-29 18:44   ` tomas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6F183974-C1CB-41D0-919C-C8A6836A29AE@gmail.com \
    --to=renato.pontefice@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).