Meaning of “value is t”












1















When using describe-variable, often the value for a variable is listed as:



Its value is t



What does that mean and why specifically t?










share|improve this question





























    1















    When using describe-variable, often the value for a variable is listed as:



    Its value is t



    What does that mean and why specifically t?










    share|improve this question



























      1












      1








      1








      When using describe-variable, often the value for a variable is listed as:



      Its value is t



      What does that mean and why specifically t?










      share|improve this question
















      When using describe-variable, often the value for a variable is listed as:



      Its value is t



      What does that mean and why specifically t?







      help






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 8 hours ago









      Drew

      48k463105




      48k463105










      asked 12 hours ago









      ChaimKutChaimKut

      1077




      1077






















          1 Answer
          1






          active

          oldest

          votes


















          7














          To quote the Emacs Lisp Manual,




          t is the preferred way to represent the truth value true. When you
          need to choose a value that represents true, and there is no other
          basis for choosing, use t. The symbol t always has the value t.




          t stands for "True".



          This is important because it is used for decision making. It is used in decisions such as "If this condition is true, do this. Otherwise, do that." The statement Its value is t means that the variable you're describing holds the value t. The consequence of the variable being t depends on the variable.



          For example,



          (setq inhibit-startup-message t)


          When the value of inhibit-startup-message is t, Emacs doesn't show the startup screen. To enable the startup screen, you would use a nil value. nil is the opposite of t and means "False".



          Generally speaking, the concepts of t and nil are part of what's called Boolean Algebra, a method of logic named after mathematician George Boole.



          Boolean Algebra is a topic important to computer programming, and many, many other fields of study. It's also quite fun and interesting. Unfortunately, it's too broad to explain in detail here.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "583"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f47822%2fmeaning-of-value-is-t%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            7














            To quote the Emacs Lisp Manual,




            t is the preferred way to represent the truth value true. When you
            need to choose a value that represents true, and there is no other
            basis for choosing, use t. The symbol t always has the value t.




            t stands for "True".



            This is important because it is used for decision making. It is used in decisions such as "If this condition is true, do this. Otherwise, do that." The statement Its value is t means that the variable you're describing holds the value t. The consequence of the variable being t depends on the variable.



            For example,



            (setq inhibit-startup-message t)


            When the value of inhibit-startup-message is t, Emacs doesn't show the startup screen. To enable the startup screen, you would use a nil value. nil is the opposite of t and means "False".



            Generally speaking, the concepts of t and nil are part of what's called Boolean Algebra, a method of logic named after mathematician George Boole.



            Boolean Algebra is a topic important to computer programming, and many, many other fields of study. It's also quite fun and interesting. Unfortunately, it's too broad to explain in detail here.






            share|improve this answer






























              7














              To quote the Emacs Lisp Manual,




              t is the preferred way to represent the truth value true. When you
              need to choose a value that represents true, and there is no other
              basis for choosing, use t. The symbol t always has the value t.




              t stands for "True".



              This is important because it is used for decision making. It is used in decisions such as "If this condition is true, do this. Otherwise, do that." The statement Its value is t means that the variable you're describing holds the value t. The consequence of the variable being t depends on the variable.



              For example,



              (setq inhibit-startup-message t)


              When the value of inhibit-startup-message is t, Emacs doesn't show the startup screen. To enable the startup screen, you would use a nil value. nil is the opposite of t and means "False".



              Generally speaking, the concepts of t and nil are part of what's called Boolean Algebra, a method of logic named after mathematician George Boole.



              Boolean Algebra is a topic important to computer programming, and many, many other fields of study. It's also quite fun and interesting. Unfortunately, it's too broad to explain in detail here.






              share|improve this answer




























                7












                7








                7







                To quote the Emacs Lisp Manual,




                t is the preferred way to represent the truth value true. When you
                need to choose a value that represents true, and there is no other
                basis for choosing, use t. The symbol t always has the value t.




                t stands for "True".



                This is important because it is used for decision making. It is used in decisions such as "If this condition is true, do this. Otherwise, do that." The statement Its value is t means that the variable you're describing holds the value t. The consequence of the variable being t depends on the variable.



                For example,



                (setq inhibit-startup-message t)


                When the value of inhibit-startup-message is t, Emacs doesn't show the startup screen. To enable the startup screen, you would use a nil value. nil is the opposite of t and means "False".



                Generally speaking, the concepts of t and nil are part of what's called Boolean Algebra, a method of logic named after mathematician George Boole.



                Boolean Algebra is a topic important to computer programming, and many, many other fields of study. It's also quite fun and interesting. Unfortunately, it's too broad to explain in detail here.






                share|improve this answer















                To quote the Emacs Lisp Manual,




                t is the preferred way to represent the truth value true. When you
                need to choose a value that represents true, and there is no other
                basis for choosing, use t. The symbol t always has the value t.




                t stands for "True".



                This is important because it is used for decision making. It is used in decisions such as "If this condition is true, do this. Otherwise, do that." The statement Its value is t means that the variable you're describing holds the value t. The consequence of the variable being t depends on the variable.



                For example,



                (setq inhibit-startup-message t)


                When the value of inhibit-startup-message is t, Emacs doesn't show the startup screen. To enable the startup screen, you would use a nil value. nil is the opposite of t and means "False".



                Generally speaking, the concepts of t and nil are part of what's called Boolean Algebra, a method of logic named after mathematician George Boole.



                Boolean Algebra is a topic important to computer programming, and many, many other fields of study. It's also quite fun and interesting. Unfortunately, it's too broad to explain in detail here.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 11 hours ago









                NickD

                2,6011515




                2,6011515










                answered 12 hours ago









                Lorem IpsumLorem Ipsum

                1,124413




                1,124413






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Emacs Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2femacs.stackexchange.com%2fquestions%2f47822%2fmeaning-of-value-is-t%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Paul Cézanne

                    UIScrollView CustomStickyHeader Resize height generates problems when scroll is too fast

                    Angular material date-picker (MatDatepicker) auto completes the date on focus out