{"id":53,"date":"2009-03-10T00:28:57","date_gmt":"2009-03-09T22:28:57","guid":{"rendered":"http:\/\/www.blackhats.es\/wordpress\/?p=53"},"modified":"2022-08-20T18:26:12","modified_gmt":"2022-08-20T16:26:12","slug":"ayuda-y-documentacin-en-emacs","status":"publish","type":"post","link":"https:\/\/www.blackhats.es\/wordpress\/?p=53","title":{"rendered":"Ayuda y documentaci&oacute;n en emacs"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright\" style=\"float: right;\" src=\"http:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/7\/72\/Torchlight_help_icon.svg\/128px-Torchlight_help_icon.svg.png\" alt=\"\" width=\"128\" height=\"128\" \/>La ayuda y\/o documentaci\u00f3n de emacs la podemos dividir en 4 o 5 partes b\u00e1sicas que son; el <strong>tutorial<\/strong>, <strong>apropos<\/strong>, <strong>info<\/strong>, el <strong>manual<\/strong> y el <strong>faq<\/strong>.<\/p>\n<p><span style=\"color: #ff6600;\"><strong>Ayuda &#8211; El tutorial<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><strong>C-h t<\/strong> : &#8216;<span style=\"color: #0000ff;\">help-with-tutorial<\/span>&#8216;; lanza el tutorial.<br \/>\n<strong>C-h C-h<\/strong> o <strong>C-h ?<\/strong> : &#8216;<span style=\"color: #0000ff;\">help-for-help<\/span>&#8216;; ayuda de la ayuda.<br \/>\n<strong>C-h c <\/strong>: &#8216;<span style=\"color: #0000ff;\">describe-key-briefly<\/span>&#8216;; describe un keystroke dado de manera breve.<br \/>\n<strong>C-h k<\/strong> : &#8216;<span style=\"color: #0000ff;\">describe-key<\/span>&#8216;; describe un keystroke dado de manera extendida.<br \/>\n<strong>C-h f <\/strong>: &#8216;<span style=\"color: #0000ff;\">describe-function<\/span>&#8216;; describe que acci\u00f3n realiza una funci\u00f3n.<br \/>\n<strong>C-h v<\/strong> : &#8216;<span style=\"color: #0000ff;\">describe-variable<\/span>&#8216;; describe para que se emplean variables definidas en emacs, pudiendo as\u00ed luego modificar su valor y por ende su comportamiento.<br \/>\n<strong>C-h m<\/strong> : &#8216;<span style=\"color: #0000ff;\">describe-mode<\/span>&#8216;; describe el modo actual as\u00ed como muestra todos los keystrokes espec\u00edficos para dicho modo.<br \/>\n<strong>C-h b<\/strong> : &#8216;<span style=\"color: #0000ff;\">describe-bindings<\/span>&#8216;; describe los keystrokes generales, as\u00ed como los espec\u00edficos y su forma natural de prefijos.<br \/>\n<strong>C-h w<\/strong> : &#8216;<span style=\"color: #0000ff;\">where-is<\/span>&#8216;; muestra en que keystroke esta mapeada una funci\u00f3n.<br \/>\n<strong>C-h s<\/strong> : &#8216;<span style=\"color: #0000ff;\">describe-syntax<\/span>&#8216;; describe la sintaxis empleada que se usa para definir keystrokes.<br \/>\n<strong>C-h l <\/strong>: &#8216;<span style=\"color: #0000ff;\">view-lossage<\/span>&#8216;; muestra los ultimos 100 caracteres escritos.<br \/>\n<strong>C-h e<\/strong> : &#8216;<span style=\"color: #0000ff;\">view-echo-area-messages<\/span>&#8216;; muestra los mensajes aparecidos en el minibuffer en la sesi\u00f3n actual.<\/p>\n<p><span style=\"color: #ff6600;\"><strong>Ayuda &#8211; Apropos<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><strong>C-x _<\/strong> o <strong>C-x u<\/strong> : &#8216;<span style=\"color: #0000ff;\">undo<\/span>&#8216;; deshace la \u00faltima tarea.<br \/>\n<strong>C-h a<\/strong> : &#8216;<span style=\"color: #0000ff;\">apropos-command<\/span>&#8216;; hace apropos de las funciones, es decir busca un listado de funciones seg\u00fan una cadena o parte de ella dada.<br \/>\n<strong>(sin keystroke asociada)<\/strong> : &#8216;<span style=\"color: #0000ff;\">apropos-variable<\/span>&#8216;; hace apropos de las variables, es decir busca un listado de variables seg\u00fan una cadena o parte de ella dada.<br \/>\n<strong>(sin keystroke asociada)<\/strong> : &#8216;<span style=\"color: #0000ff;\">apropos-value<\/span>&#8216;; hace apropos de las variables que referencian dicho valor especificado.<br \/>\n<strong>(sin keystroke asociada)<\/strong> : &#8216;<span style=\"color: #0000ff;\">apropos-documentation<\/span>&#8216;; hace apropos de la documentaci\u00f3n.<br \/>\n<strong>(sin keystroke asociada) <\/strong>: &#8216;<span style=\"color: #0000ff;\">apropos<\/span>&#8216;; hace apropos para funciones y variables.<\/p>\n<p><strong><span style=\"color: #ff6600;\">Ayuda &#8211; info<\/span><\/strong><\/p>\n<p style=\"padding-left: 60px;\"><strong>C-h i <\/strong>: entra en info.<br \/>\n<strong><\/strong><\/p>\n<p style=\"padding-left: 90px;\"><strong>h<\/strong> : para ayuda.<br \/>\n<strong>SPC<\/strong> : mueve el scroll hacia abajo.<br \/>\n<strong>u u<\/strong> : se mueve un nivel hacia arriba.<br \/>\n<strong>t<\/strong> : se desplaza al top de este nivel.<br \/>\n<strong>i<\/strong> : para b\u00fasqueda.<br \/>\n<strong>, <\/strong>: se desplaza a la siguiente macro relacionada con este comando.<br \/>\n<strong>l <\/strong>: hace info del \u00faltimo buscado.<br \/>\n<strong>TAB<\/strong> o <strong>n<\/strong> : siguiente referencia.<br \/>\n<strong>p<\/strong> : referencia previa.<br \/>\n<strong>u<\/strong> : hace info de up (arriba).<br \/>\n<strong>m<\/strong> : info menu.<br \/>\n<strong>q<\/strong> : info quit.<br \/>\n<strong>s <\/strong>: info search.<br \/>\n<strong>g<\/strong> : goto node.<\/p>\n<p><span style=\"color: #ff6600;\"><strong>Manual e informaci\u00f3n general<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><strong>C-h r<\/strong> : emacs manual.<br \/>\n<strong>C-h F<\/strong> : &#8216;<span style=\"color: #0000ff;\">info-goto-emacs-command-node<\/span>&#8216;; hace info de un comando dado.<br \/>\n<strong>C-h K<\/strong> : &#8216;<span style=\"color: #0000ff;\">info-goto-emacs-key-node<\/span>&#8216;; hace info de un keystroke dado.<br \/>\n<strong>C-h C-f<\/strong> : muestra la FAQ.<br \/>\n<strong>C-h n<\/strong> : &#8216;<span style=\"color: #0000ff;\">view-emacs-news<\/span>&#8216;; muestra las \u00faltimas noticias sobre emacs.<br \/>\n<strong>(sin keystroke asociada)<\/strong> : &#8216;<span style=\"color: #0000ff;\">emacs-index-search<\/span>&#8216; : hace b\u00fasquedas relacionadas con emacs.<br \/>\n<strong> (sin keystroke asociada)<\/strong> : &#8216;<span style=\"color: #0000ff;\">elisp-index-search<\/span>&#8216; : hace b\u00fasquedas relacionadas con elisp.<br \/>\n<strong> (sin keystroke asociada)<\/strong> : &#8216;<span style=\"color: #0000ff;\">search-emacs-glossary<\/span>&#8216;; muestra el nodo del glosario de info.<br \/>\n<strong>C-h<\/strong> : &#8216;<span style=\"color: #0000ff;\">view-order-manuals<\/span>&#8216;; muestra informaci\u00f3 sobre la compra de manuales en papel.<br \/>\n<strong>C-h p<\/strong> : &#8216;<span style=\"color: #0000ff;\">finder-by-keyword<\/span>&#8216;; muestra informaci\u00f3 sobre los paquetes lisp disponibles en el sistema.<br \/>\n<strong>C-h C-c<\/strong> : &#8216;<span style=\"color: #0000ff;\">describe-copying<\/span>&#8216;; muestra la licencia de emacs (GPL).<br \/>\n<strong>C-h C-d<\/strong> : &#8216;<span style=\"color: #0000ff;\">describe-distribution<\/span>&#8216;; muestra informaci\u00f3n sobre comprar emacs de la Free Software Foundation (FSF).<br \/>\n<strong>C-h C-p<\/strong> : &#8216;<span style=\"color: #0000ff;\">describe-project<\/span>&#8216;; muestra informaci\u00f3n del proyecto GNU.<br \/>\n<strong>C-h C-w<\/strong> : &#8216;<span style=\"color: #0000ff;\">describe-no-warranty<\/span>&#8216;; muestra la no-garant\u00eda de emacs.<br \/>\n<strong>C-h C-t<\/strong> : &#8216;<span style=\"color: #0000ff;\">view-todo<\/span>&#8216;; muestra las tareas TODO (a hacer) para contruibuir con el proyecto.<br \/>\n<strong>C-h C-e<\/strong> : &#8216;<span style=\"color: #0000ff;\">view-emacs-problems<\/span>&#8216;; muestra un listado de problemas conocidos en emacs.<br \/>\n<strong>C-h h<\/strong> : &#8216;<span style=\"color: #0000ff;\">view-hello-file<\/span>&#8216;; muestra el fichero HELLO en la mayor\u00edan de lenguajes disponibles.<br \/>\n<strong>C-h L<\/strong> : &#8216;<span style=\"color: #0000ff;\">describe-language-environment<\/span>&#8216;; muestra informaci\u00f3n sobre como son soportados los lenguajes bajo emacs.<br \/>\n<strong>C-h C-\\<\/strong> : &#8216;<span style=\"color: #0000ff;\">describe-input-method<\/span>&#8216;; muestra el m\u00e9todo de introducci\u00f3n actual o la lista completa mediante TAB.<br \/>\n<strong>C-h C<\/strong> : &#8216;<span style=\"color: #0000ff;\">describe-coding-system<\/span>&#8216;; muestra el sistema de encoding actual o la lista completa mediante TAB.<\/p>\n<p><span style=\"color: #ff6600;\"><strong>Ayuda &#8211; completion<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\"><strong>TAB<\/strong> : autocompleta la cadena a ser escrita, si existe m\u00e1s de una opci\u00f3n y se pulsa 2 veces, muestra la lista de posibles opciones.<br \/>\n<strong>SPC<\/strong> : autocompleta la cadena a ser escrita hasta el siguiente car\u00e1cter de puntuaci\u00f3n.<br \/>\n<strong>?<\/strong> : Lista las posibles opciones de autocompletado en <strong>*Completions*<\/strong> buffer.<\/p>\n<p style=\"padding-left: 30px;\">Para ignorar las extensiones de un fichero podemos invocar a <strong>completion-ignored-extensions<\/strong> o bien a\u00f1adir a nuestro <strong>.emacs<\/strong>:<\/p>\n<p style=\"padding-left: 60px;\"><em>(setq completion-ignore-extensions<br \/>\n(cons \u00ab.ps\u00bb completion-ignored-extensions))<\/em><\/p>\n<p>Recordad que emacs es autodocumentado, lo cu\u00e1l lo hace muy potente y sin necesidad de depender de tutoriales o manuales externos, entre los que se incluye este mismo blog, aunque recordar que este blog tiene la finalidad de aprender desde 0 de forma r\u00e1pida las tareas m\u00e1s habituales para alguien que se quiera iniciar en emacs y en espa\u00f1ol.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>La ayuda y\/o documentaci\u00f3n de emacs la podemos dividir en 4 o 5 partes b\u00e1sicas que son; el tutorial, apropos, info, el manual y el faq. Ayuda &#8211; El tutorial C-h t : &#8216;help-with-tutorial&#8216;; lanza el tutorial. C-h C-h o C-h ? : &#8216;help-for-help&#8216;; ayuda de la ayuda. C-h c : &#8216;describe-key-briefly&#8216;; describe un keystroke [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[72,8,76,74,75,73],"class_list":["post-53","post","type-post","status-publish","format-standard","hentry","category-basic","tag-ayuda","tag-emacs","tag-faq","tag-help","tag-info","tag-tutorial"],"_links":{"self":[{"href":"https:\/\/www.blackhats.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/53"}],"collection":[{"href":"https:\/\/www.blackhats.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blackhats.es\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blackhats.es\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blackhats.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=53"}],"version-history":[{"count":1,"href":"https:\/\/www.blackhats.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions"}],"predecessor-version":[{"id":787,"href":"https:\/\/www.blackhats.es\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/53\/revisions\/787"}],"wp:attachment":[{"href":"https:\/\/www.blackhats.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=53"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blackhats.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=53"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blackhats.es\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=53"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}